[mlir][tosa] Add broadcasting case for tosa.resize to linalg implementation
When lowering tosa.resize it is possible there is an unary input dimension. Lowering to a new tosa.resize and explicit broadcast simplifies the tosa.resize operation to avoid recomputing the identical broadcasted values. This change reworks the broadcast optimization reuse the tosa.resize generic implementation. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D139963
Loading
Please sign in to comment