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