pub trait AsTensor { // Required method fn as_tensor(&self) -> Tensor; }
Converts some type to a tensor