Validate that a reshape is valid (same total elements)
type Valid = CanReshape<[2, 6], [3, 4]> // true (both have 12 elements)type Invalid = CanReshape<[2, 3], [4, 5]> // false (6 vs 20 elements) Copy
type Valid = CanReshape<[2, 6], [3, 4]> // true (both have 12 elements)type Invalid = CanReshape<[2, 3], [4, 5]> // false (6 vs 20 elements)
Validate that a reshape is valid (same total elements)