Skip to main content

tensor

Function tensor 

Source
pub fn tensor<V, T, E>(v: T) -> Result<V>
where V: TensorInterface, T: TryInto<V, Error = E>, E: Into<Error>,
Expand description

Convert any compatible input into a V: TensorInterface.