Tensor Layout.Is Contiguous For Method
Gets whether this layout is contiguous for
a tensor with the specified shape.
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.1
C#
true if this layout is contiguous; otherwise false.
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.1
public bool IsContiguousFor(
TensorShape shape
)
Parameters
- shape TensorShape
- A tensor shape.
Return Value
Booleantrue if this layout is contiguous; otherwise false.