TensorShape.Item Property

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0

Overload List

Item[Index] Gets the size of the specified dimension.
Item[Int32] Gets the size of the specified dimension.

Item(Index)

Gets the size of the specified dimension.
C#
public int this[
	Index axis
] { get; }

Parameters

axis  Index
The zero-based index of the axis.

Return Value

Int32
The dimension along the axis with index axis.

Item(Int32)

Gets the size of the specified dimension.
C#
public int this[
	int axis
] { get; }

Parameters

axis  Int32
The zero-based index of the axis.

Return Value

Int32
The dimension along the axis with index axis.

See Also