Table of Contents

Class Sum

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

Computes the sum of the input tensor elements along the specified dimensions.

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

Properties

Dimensions

The dimensions along which to compute the sum.

KeepDimensions

If true, keeps the dimensions of the input tensor the same.

Type

The data type of the tensor.

Methods

Process(IObservable<Tensor>)

Computes the sum of the input tensor elements along the specified dimensions.