[][src]Trait tract_hir::internal::IntoTensor

pub trait IntoTensor {
    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...

Implementors

impl IntoTensor for Arc<Tensor>[src]

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

Loading content...