Table of Contents

Method Process

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

Process(IObservable<Tensor>)

Indexes the input tensor with the specified indices.

public IObservable<torch.Tensor> Process(IObservable<torch.Tensor> source)

Parameters

source IObservable<torch.Tensor>

Returns

IObservable<torch.Tensor>

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

Indexes the input tensor with the specified indices.

public IObservable<torch.Tensor> Process(IObservable<Tuple<torch.Tensor, torch.TensorIndex>> source)

Parameters

source IObservable<Tuple<torch.Tensor, torch.TensorIndex>>

Returns

IObservable<torch.Tensor>

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

Indexes the input tensor with the specified indices.

public IObservable<torch.Tensor> Process(IObservable<Tuple<torch.Tensor, IEnumerable<torch.TensorIndex>>> source)

Parameters

source IObservable<Tuple<torch.Tensor, IEnumerable<torch.TensorIndex>>>

Returns

IObservable<torch.Tensor>