Trait tract_data::prelude::IntoTensor [−][src]
pub trait IntoTensor: Sized {
fn into_tensor(self) -> Tensor;
}
Expand description
Convenient conversion to Tensor.
Required methods
fn into_tensor(self) -> Tensor
fn into_tensor(self) -> Tensor
Convert Self to a Tensor.
May perform a copy