Trait tract_core::internal::IntoTensor
source · pub trait IntoTensor: Sized {
// Required method
fn into_tensor(self) -> Tensor;
}
Expand description
Convenient conversion to Tensor.
Required Methods§
sourcefn into_tensor(self) -> Tensor
fn into_tensor(self) -> Tensor
Convert Self to a Tensor.
May perform a copy