Trait tract_core::prelude::IntoArcTensor[][src]

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>[src]

Expand description

Convert Self to a Arc.

May perform a copy

Implementors

impl IntoArcTensor for Tensor[src]

impl IntoArcTensor for Arc<Tensor>[src]

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