Trait tract_core::internal::IntoTensor [−][src]
pub trait IntoTensor {
fn into_tensor(self) -> Tensor;
}Expand description
Convenient conversion to Tensor.
Required methods
fn into_tensor(self) -> Tensor[src]
fn into_tensor(self) -> Tensor[src]Convert Self to a Tensor.
May perform a copy
Implementors
impl IntoTensor for Arc<Tensor>[src]
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]
impl<D, T> IntoTensor for ArrayBase<OwnedRepr<T>, D> where
T: Datum,
D: Dimension, [src]