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

Expand description

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

pub fn into_tensor(self) -> Tensor