Function tensor

Source
pub const fn tensor<B: Backend>(id: Id, backend: B) -> Tensor<B>
Expand description

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