Compute the resulting shape when broadcasting two shapes Returns IncompatibleShapes (a special never type) if shapes are incompatible
type Result = BroadcastShapes<[1, 3], [2, 1]> // [2, 3]type Error = BroadcastShapes<[2, 3], [3, 2]> // IncompatibleShapes<[2, 3], [3, 2]> Copy
type Result = BroadcastShapes<[1, 3], [2, 1]> // [2, 3]type Error = BroadcastShapes<[2, 3], [3, 2]> // IncompatibleShapes<[2, 3], [3, 2]>
Compute the resulting shape when broadcasting two shapes Returns IncompatibleShapes (a special never type) if shapes are incompatible