Trait tract_core::internal::IntoTensor[][src]

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

Implementors

impl IntoTensor for Arc<Tensor>[src]

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

Loading content...