ContiguousTensorExtension<T> extension

on

Properties

isContiguous bool

Available on Tensor<T>, provided by the ContiguousTensorExtension extension

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

Methods

contiguous() Tensor<T>

Available on Tensor<T>, provided by the ContiguousTensorExtension extension

Returns a contiguous copy of this tensor, if the tensor is already contiguous return itself.