Get all dimensions except the last two (batch dimensions for matrix ops)
type BatchDims = BatchDims<[5, 2, 3, 4]> // readonly [5, 2] Copy
type BatchDims = BatchDims<[5, 2, 3, 4]> // readonly [5, 2]
Get all dimensions except the last two (batch dimensions for matrix ops)