diff options
| author | Felix Schneider <fx.schn@gmail.com> | 2023-10-24 19:53:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-24 19:53:38 +0200 |
| commit | 8a57bc092850d6a5fa43a7f74a04352bb135f56e (patch) | |
| tree | 0e59d303cfd24869fecdb032fd5d9b6955146b6e /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h | |
| parent | d593f6cb387fe86aad47d3b763abcf0048e5b568 (diff) | |
[mlir][tosa] Add verifiers to ReduceOps, fix shape inference crash (#69843)
This patch adds verifiers to `tosa.reduce_*` ops that check, among other things,
that the supplied `axis` argument is compatible with the input/output tensors'
shapes. We allow for a special case of `axis == 0 && rank == 0` to be valid.
This patch also adds a check to `ReduceInferReturnTypes()` to ensure that the
shape inference pass doesn't crash on an invalid `axis` argument anymore.
Fix https://github.com/llvm/llvm-project/issues/68187
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
