TensorShape.CreateFromArray Method

Returns the shape of an array.

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0
C#
public static TensorShape CreateFromArray(
	Array array
)

Parameters

array  Array
A Array.

Return Value

TensorShape
A TensorShape that describes the shape of array.

Exceptions

ArgumentNullException

array is null.

See Also