Trait tract_hir::prelude::IntoArcTensor [−]
Convenient conversion to Arc
Required methods
pub fn into_arc_tensor(self) -> Arc<Tensor>
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,
T: Datum,
D: Dimension,