Table of Contents

Class ConvertToArray

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

Converts the input tensor into a flattened array of the specified element type.

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

Properties

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>(IObservable<Tensor>)

Converts the input tensor into a flattened array of the specified element type.