Table of Contents

Class Empty

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

Creates an empty tensor with the given data type and size.

[Combinator]
[ResetCombinator]
[WorkflowElementCategory(ElementCategory.Source)]
public class Empty
Inheritance
Empty
Inherited Members

Properties

Device

The device on which to create the tensor.

Size

The size of the tensor.

Type

The data type of the tensor elements.

Methods

Process()

Creates an empty tensor with the given data type and size.

Process<T>(IObservable<T>)

Generates an observable sequence of empty tensors for each element of the input sequence.