[][src]Trait tract_core::tensor::IntoArcTensor

pub trait IntoArcTensor: Sized {
    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...

Implementations on Foreign Types

impl<D: Dimension, T: Datum> IntoArcTensor for Array<T, D>[src]

Loading content...

Implementors

impl IntoArcTensor for Arc<Tensor>[src]

impl IntoArcTensor for Tensor[src]

Loading content...