Table of Contents

Class Set

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

Sets values of a tensor to the provided values at the specified index.

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

Properties

Index

The index at which to set the value.

Value

The value to set at the specified index.

Methods

Process(IObservable<Tuple<Tensor, Tensor, TensorIndex[]>>)

Returns an observable sequence that sets the value of the input tensor in item 1 to item 2 at the tensor index array specified in item 3.

Process(IObservable<Tuple<Tensor, Tensor, TensorIndex>>)

Returns an observable sequence that sets the value of the input tensor in item 1 to item 2 at the tensor index specified in item 3.

Process(IObservable<Tuple<Tensor, TensorIndex[]>>)

Returns an observable sequence that sets the value of the input tensor to the Value property using the tensor index array in the input sequence.

Process(IObservable<Tuple<Tensor, TensorIndex>>)

Returns an observable sequence that sets the value of the input tensor to the Value property using the tensor index in the input sequence.

Process(IObservable<Tuple<Tensor, Tensor>>)

Returns an observable sequence that sets the value of the input tensor in item 1 to item 2 at indices specified by the Index property.

Process(IObservable<Tensor>)

Returns an observable sequence that sets the value of the input tensor to the Value property at indices specified by the Index property.