Trait tract_data::prelude::IntoTensor[][src]

pub trait IntoTensor: Sized {
    fn into_tensor(self) -> Tensor;
}
Expand description

Convenient conversion to Tensor.

Required methods

Convert Self to a Tensor.

May perform a copy

Implementations on Foreign Types

Implementors