[][src]Trait tract_core::tensor::IntoTensor

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

Convenient conversion to Tensor.

Required methods

fn into_tensor(self) -> Tensor

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]

Loading content...

Implementors

impl IntoTensor for Arc<Tensor>[src]

Loading content...