pub trait IsSquare { // Required method fn is_square(&self) -> bool; }
IsSquare is a trait for checking if the layout, or dimensionality, of a tensor is square.
IsSquare