Table of Contents

Class ConvertToNDArray

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

Converts the input tensor into an array of the specified element type and rank.

[Combinator]
[WorkflowElementCategory(ElementCategory.Transform)]
public class ConvertToNDArray : SingleArgumentExpressionBuilder, IExpressionBuilder
Inheritance
ConvertToNDArray
Implements
Inherited Members

Properties

Rank

Gets or sets the rank of the output array. Must be greater than or equal to 1.

Type

Gets or sets the type of the elements in the output array.

Methods

Build(IEnumerable<Expression>)

Constructs an Expression node from a collection of input arguments. The result can be chained with other builders in a workflow.

Process<T, TResult>(IObservable<Tensor>)

Converts the input tensor into an array of the specified element type.