Oh I got this instruction as following, I’ll try first. Sorry for post before searching the web.
  

      github.com
  

  
    onnx/tutorials/blob/master/tutorials/PytorchAddExportSupport.md 2


    <!--- SPDX-License-Identifier: Apache-2.0 -->

## Fail to export the model in PyTorch
When you try to export a model, you may receive a message similar to the following:
```
UserWarning: ONNX export failed on elu because torch.onnx.symbolic.elu does not exist
RuntimeError: ONNX export failed: Couldn't export operator elu
```
The export fails because PyTorch does not support exporting the `elu` operator. If you've already reached out to the ONNX team but haven't received a response, you can add support for this yourself. The difficulty of doing this depends on your answers to the following questions:

### Determine how difficult it is to add support for the operator
#### Question 1: Is the operator you want standardized in ONNX?
Answer:
- **Yes.** Great! It will be straightforward to add support for the missing operator.
- **No.** In this case, it may be difficult to do the work by yourself.
Check the [Standardization Section](#standardize_op).

#### Question 2: Can the ONNX operator be imported by the backend framework, such as Caffe2?
Answer:
- **Yes.** Terrific. We are able to run the exported ONNX model.



  This file has been truncated. show original