Table of Contents

Class Ones

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

Creates a tensor filled with ones.

[Combinator]
[ResetCombinator]
[WorkflowElementCategory(ElementCategory.Source)]
public class Ones
Inheritance
Ones
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.

Methods

Process()

Generates an observable sequence of tensors filled with ones.

Process<T>(IObservable<T>)

Generates an observable sequence of tensors filled with ones for each element of the input sequence.