Georgios Pinitas

Results comments of Georgios Pinitas

Axis seems to be wrong in the example above as we have a 1d tensor and probably we need to perform reduction on axis 0 not 1. Think this #68410...

@sjarus is right; this definitely shouldn't have led to a crash. The `ReshapeOp` verifier doesn't have a check for this case but is rather straight-forward to handle as the `new_shape`...

> This issue is duplicate with #107969. Is it correct to add a verifier for `tosa.reshape` in this way? > > ``` > if (inputType.hasStaticShape()) { > int64_t inputElementsNum =...

Suspect that you get a division by 0 here in the `tosa.intdiv` operator call. Have you seen the unrolled backtrace on where this is actually failing?

Hey @CoTinker just saw this. Think we can add something to the verifier itself in case it is a constant tensor. But in general, in the operator specification it is...

Hey @EugeneZelenko, probably this https://github.com/llvm/llvm-project/pull/124532 might help

Suppose this is covered by @lhutton1's comment here https://discourse.llvm.org/t/tosa-should-unranked-tensor-allowed-for-tosa-reduce-op/85186. Now during linalg legalization not sure we can proceed with unranked tensors unless am missing something.