Hi, I ran into this issue while exporting to onnx model. Has anyone run into this issue before?
/home/zichengr/.local/lib/python3.5/site-packages/torch/onnx/utils.py:365: UserWarning: ONNX export failed on ATen operator norm because torch.onnx.symbolic.norm does not exist
.format(op_name, op_name))
I had the same problem, and couldn’t find any answer to it. So I checked out the torch.onnx docs, and saw that onnx already has an operator for L-normalization (LpNormalization). Then I edited the torch/onnx/symbolic.py file and added a mapping from tensor norm to that operator: