pub const fn tensor<B: Backend>(id: Id, backend: B) -> Tensor<B>
Create new tensor from id and backend. Used mostly internally in tensor and in backends.