[mlir] Add shape.is_broadcastable.
This op returns a boolean value indicating whether 2 ops are broadcastable or not. This follows the same logic as the other ops with broadcast in their names in the shape dialect. Concretely, shape.is_broadcastable returning true implies that shape.broadcast will not give an error, and shape.cstr_broadcastable will not result in an assertion failure. Similarly, false implies an error or assertion failure.
Loading
Please sign in to comment