How do I keep the resize operator when exporting my ONNX model

My model needs to run on certain specific devices that do not support acceleration for reshape. They support acceleration when resize conforms to specific rules. When using my pytorch model, I chose resize, but when exporting onnx, it changed to reshape. What should I do to ensure that it remains the resize operator when exporting