openvino icon indicating copy to clipboard operation
openvino copied to clipboard

[ONNX FE] Fix issues of com.microsoft.EmbedLayerNormalization

Open a3213105 opened this issue 2 years ago • 0 comments

I have a customized ONNX model which used "EmbedLayerNormalization" op, the struct is shown in picture below. and I have met an error when I load model with OpenVINO. it shows the mismatch of the shape between two input of "ADD" op after "EmbedLayerNormalization". I have check the original implement of EmbedLayerNormalization in ONNX-Runtime , and i found some different between ONNX-Runtime and OpenVINO. So, I create this pull request to fix this gap between ONNX-Runtime and OpenVINO

  1. Add implement of EmbedLayerNormalization which seq_len != pos_embed_len
  2. Align EmbedLayerNormalization implement in OpenVINO with ONNX-Runtime

Tickets:

  • #13035 image

a3213105 avatar Sep 14 '22 05:09 a3213105