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>
impl IntoArcTensor for Arc<Tensor>
pub fn into_arc_tensor(self) -> Arc<Tensor>
impl IntoArcTensor for 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,
impl<D, T> IntoArcTensor for ArrayBase<OwnedRepr<T>, D> where
T: Datum,
D: Dimension,