Trait rten_tensor::IntoStorage
source · pub trait IntoStorage {
type Output: Storage;
// Required method
fn into_storage(self) -> Self::Output;
}Expand description
Trait for converting owned and borrowed element containers (Vec<T>, slices)
into their corresponding Storage type.
This is used by Tensor::from_data.