What version of ONNX are you using? According to the documentation, ONNX version 1.2.1 is supported.
See also this post: