Table of Contents

Class ConvertScalarType

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

Converts the data type of the input tensor to the newly specified scalar type.

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

Properties

Type

The scalar type with which to convert the input tensor.

Methods

Process(IObservable<Tensor>)

Returns an observable sequence that converts the input tensor to the specified scalar type.