[][src]Trait math::tensor::IntoTensor

pub trait IntoTensor<Dtype> {
    pub fn into_tensor<S: Into<TensorShape>>(self, shape: S) -> Tensor<Dtype>;
}

The implementer can be converted into a Tensor struct with the specified shape.

Required methods

pub fn into_tensor<S: Into<TensorShape>>(self, shape: S) -> Tensor<Dtype>[src]

Loading content...

Implementations on Foreign Types

impl<Dtype> IntoTensor<Dtype> for Vec<Dtype>[src]

Loading content...

Implementors

Loading content...