[]Trait tract_onnx::prelude::IntoArcTensor

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

Convenient conversion to Arc.

Required methods

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
    D: Dimension,
    T: Datum

Loading content...