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