Module tensor

Source
Expand description

See Tensor

Structs§

Id
Id of tensor.
Tensor
Tensor is the core object of zyx. It is multidimensional array.

Traits§

FlattenAxes
A range of axes that can be used for flattening tensors.
IntoIndex
Implemented for objects that can be used to index tensors.
IntoRange
Into i64 range, used for indexing
IntoTensor
Objects must implement this to be convertible into tensor

Functions§

id
Create new id.
tensor
Create new tensor from id and backend. Used mostly internally in tensor and in backends.