Class Reshape
- Namespace
- Bonsai.ML.LinearDynamicalSystems
- Assembly
- Bonsai.ML.LinearDynamicalSystems.dll
Represents an operator that reshapes the dimensions of a 2D multi-dimensional array.
[Combinator]
[WorkflowElementCategory(ElementCategory.Transform)]
public class Reshape
- Inheritance
-
Reshape
- Inherited Members
Properties
Cols
Gets or sets the number of columns in the reshaped array.
public int Cols { get; set; }
Property Value
Rows
Gets or sets the number of rows in the reshaped array.
public int Rows { get; set; }
Property Value
Methods
Process(IObservable<double[,]>)
Reshapes a 2D multi-dimensional array into a new multi-dimensional array with the provided number of rows and columns.
public IObservable<double[,]> Process(IObservable<double[,]> source)
Parameters
sourceIObservable<double[,]>
Returns
- IObservable<double[,]>