ContiguousTensorExtension<T> extension
- on
-
- Tensor<
T>
- Tensor<
Properties
- isContiguous → bool
-
Available on Tensor<
ReturnsT> , provided by the ContiguousTensorExtension extensiontrue
, if the data in this tensor is contiguous.no setter
Methods
-
contiguous(
) → Tensor< T> -
Available on Tensor<
Returns a contiguous copy of this tensor, if the tensor is already contiguous return itself.T> , provided by the ContiguousTensorExtension extension