ContiguousTensorExtension<T> extension

on

Properties

isContiguous bool
Returns true, if the data in this tensor is contiguous.
no setter

Methods

contiguous() Tensor<T>
Returns a contiguous copy of this tensor, if the tensor is already contiguous return itself.