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

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

Convenient conversion to Tensor.

Required methods

pub fn into_tensor(self) -> Tensor[src]

Convert Self to a Tensor.

May perform a copy

Loading content...

Implementations on Foreign Types

impl<D: Dimension, T: Datum> IntoTensor for Array<T, D>[src]

impl IntoTensor for Arc<Tensor>[src]

Loading content...

Implementors

Loading content...