Trait tract_hir::internal::tract_data::internal::IntoTensor[]

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

Convenient conversion to Tensor.

Required methods

pub fn into_tensor(self) -> Tensor

Convert Self to a Tensor.

May perform a copy

Loading content...

Implementors

impl IntoTensor for Arc<Tensor>

impl<D, T> IntoTensor for ArrayBase<OwnedRepr<T>, D> where
    T: Datum,
    D: Dimension

Loading content...