pub trait IntoTensor: Sized {
    type Tensor: TensorCreator;

    fn into_tensor(self) -> Self::Tensor;
}
Expand description

Enables converting this value into a Tensor. See tensor().

Required Associated Types

The type of tensor that this value would be converted into.

Required Methods

Convert this value into a tensor.

Implementations on Foreign Types

Implementors