Table of Contents

Class ToDevice

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

Moves the input tensor to the specified device.

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

Properties

Device

The device to which the input tensor should be moved.

Methods

Process(IObservable<Tensor>)

Returns the input tensor moved to the specified device.