onnxruntime
d279ce2f - bug fix, NNAPI filter out un-supported graph (#14040)

Commit
3 years ago
bug fix, NNAPI filter out un-supported graph (#14040) ### Description "Consttant Folding" need to enhance to support "function" in onnx spec. If those nodes are inlined into sub-graph and captured by a EP, espeicially this EP doesn't support that, error occured. There are many test failure in Onnx 1.13 agaist NNAPI, these are listed bellow; ``` prelu_broadcast_expanded selu_example_expanded_ver18 layer_normalization_2d_axis0 shrink_hard_expanded_ver18 elu_expanded_ver18 softsign_example_expanded_ver18 leakyrelu_example_expanded hardsigmoid_example_expanded_ver18 thresholdedrelu_default_expanded_ver18 split_variable_parts_2d_opset18 efault_expanded prelu_example_expanded thresholdedrelu_example_expanded_ver18 selu_default_expanded_ver18 elu_example_expanded_ver18 hardsigmoid_default_expanded_ver18 softsign_expanded_ver18 hardsigmoid_expanded_ver18 leakyrelu_expanded scatter_with_axis selu_expanded_ver18 shrink_soft_expanded_ver18 relu_expanded_ver18 thresholdedrelu_expanded_ver18 elu_default_expanded_ver18 ``` Solution: To prevent NNAPI capture it for now, we can revert it once a better CF implemented. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
Author
Parents
Loading