Table of Contents

Class Index

Namespace
Bonsai.ML.Torch
Assembly
Bonsai.ML.Torch.dll

Indexes a tensor by parsing the specified indices. Indices are specified as a comma-separated values. Currently supports Python-style slicing syntax, which includes numerical indices, None, slices, and ellipsis.

[Combinator]
[WorkflowElementCategory(ElementCategory.Transform)]
public class Index
Inheritance
Index
Inherited Members

Properties

Value

The indices to use for indexing the tensor.

Methods

Process(IObservable<Tuple<Tensor, IEnumerable<TensorIndex>>>)

Indexes the input tensor with the specified indices.

Process(IObservable<Tuple<Tensor, TensorIndex>>)

Indexes the input tensor with the specified indices.

Process(IObservable<Tensor>)

Indexes the input tensor with the specified indices.