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