Trait tract_pulse::internal::tract_core::ops::nn::IntoArcTensor[]

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

Convenient conversion to Arc.

Required methods

fn into_arc_tensor(self) -> Arc<Tensor>

Expand description

Convert Self to a Arc.

May perform a copy

Implementors

impl IntoArcTensor for Arc<Tensor>

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

impl IntoArcTensor for Tensor

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

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

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