torch-mlir
torch-mlir copied to clipboard
[onnx] Fix `onnx.Slice` for dynamic axis
If the axis value is dynamic we need to iterate through the options and match to the correct dim.
Does this resolve https://github.com/llvm/torch-mlir/issues/3417?