Trait tract_hir::internal::tract_data::internal::IntoTensor [−]
Convenient conversion to Tensor.
Required methods
pub fn into_tensor(self) -> Tensor
Convert Self to a Tensor.
May perform a copy
Implementors
impl IntoTensor for Arc<Tensor>
pub fn into_tensor(self) -> Tensor
impl<D, T> IntoTensor for ArrayBase<OwnedRepr<T>, D> where
T: Datum,
D: Dimension,
T: Datum,
D: Dimension,