There are many references for opset in “torch/onnx/symbolic_helper.py”. For example in _slice_helper with g.opset <= 9.
During ONNX conversion actual graph context that is received here is missing opset reference, so we get an error: AttributeError: ‘torch._C.Graph’ object has no attribute ‘opset’.
So is there any way to add “opset” to graph context.
Thanks in advance.