pub trait AsTensorShape {
    // Required method
    fn as_tensor_shape(&self) -> TensorShape;
}Expand description
A trait to convert any array-like type to a tensor shape
Required Methods§
Sourcefn as_tensor_shape(&self) -> TensorShape
 
fn as_tensor_shape(&self) -> TensorShape
Convert the array-like type to a tensor shape