I’m trying to export a model to ONNX for use in C++, but I keep encountering the following error:
torch.onnx.errors.UnsupportedOperatorError: Exporting the operator 'aten::copy' to ONNX opset version 17 is not supported.
I’ve tried changing the ONNX opset version, but the issue persists.
I’d greatly appreciate any advice or help on how to resolve this problem.