[Mlir-commits] [mlir] [mlir][tosa] Prevent div by 0 in ReshapeOp::inferReturnTypeComponents (PR #83823)

Hsiangkai Wang llvmlistbot at llvm.org
Tue Jan 28 08:25:06 PST 2025


Hsiangkai wrote:

>From TOSA specification, the tensor shape in each dimension must be greater than or equal to 1.
See https://www.mlplatform.org/tosa/tosa_spec.html#_tensors

https://github.com/llvm/llvm-project/pull/83823


More information about the Mlir-commits mailing list