mirror of
https://github.com/open-mmlab/mmcv.git
synced 2025-06-03 21:54:52 +08:00
* [Docs] Refactor the structure of documentation * [Docs] Refactor the structure of documentation * fix symlink * fix link * fix typo * polish docstring * fix docstring
24 lines
422 B
Markdown
24 lines
422 B
Markdown
## Introduction of mmcv.onnx module
|
|
|
|
### register_extra_symbolics
|
|
|
|
Some extra symbolic functions need to be registered before exporting PyTorch model to ONNX.
|
|
|
|
#### Example
|
|
|
|
```python
|
|
import mmcv
|
|
from mmcv.onnx import register_extra_symbolics
|
|
|
|
opset_version = 11
|
|
register_extra_symbolics(opset_version)
|
|
```
|
|
|
|
#### Reminder
|
|
|
|
- *Please note that this feature is experimental and may change in the future.*
|
|
|
|
#### FAQs
|
|
|
|
- None
|