Trait tract_hir::prelude::IntoArcTensor[]

pub trait IntoArcTensor {
    pub fn into_arc_tensor(self) -> Arc<Tensor>;
}

Convenient conversion to Arc.

Required methods

pub fn into_arc_tensor(self) -> Arc<Tensor>

Convert Self to a Arc.

May perform a copy

Loading content...

Implementors

impl IntoArcTensor for Arc<Tensor>

impl IntoArcTensor for Tensor

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

Loading content...