onnx-tensorflow
onnx-tensorflow copied to clipboard
Error in PredictCost() for the op: op: "Softmax" attr
Describe the bug
The model converted from ONNX to TF on validation returns NaN as result.
To Reproduce
- export fairseq's transformer lm model to onnx
- export the onnx model to TF
- load the saved_model and validate with any src_token value
- the output array contains NaN
Python, ONNX, ONNX-TF, Tensorflow version
- Python version: 1.11.0+cu102
- ONNX version: 1.10.2
- ONNX-TF version: 1.10.0 + implementation for squeeze and unsqueeze for opset v 13
- Tensorflow version: 2.8.0