onnxruntime
d1cb8c9d - Support negative indices and fix bound checking in symbolic shape inference for Slice (#7401)

Commit
4 years ago
Support negative indices and fix bound checking in symbolic shape inference for Slice (#7401) * Use positivity everywhere; handle negative index in Slice * limit positivity to inputs * make handle_negative_index private * strengthen sympy comparison * further strengthen compariso n and a minor refactoring * Add flip test * Fall through if -int_max in handle_negative_index() * minor fix for infer_Concat to include initializers * Add more tests * use simplify * more tests
Author
Parents
Loading