Tensor Shape.Vector Method
Represents the shape of a vector of the
specified length.
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0
C#
A 1D shape with 1 row and length columns.
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0
public static TensorShape Vector(
int length
)
Parameters
- length Int32
- The desired length of the vector.
Return Value
TensorShapeA 1D shape with 1 row and length columns.