Skip to content

Commit

Permalink
Update Paddle2ONNX_Development_Guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Zheng-Bicheng authored Apr 24, 2024
1 parent 85b8aec commit 1b79dc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/zh/Paddle2ONNX_Development_Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ void RollMapper::Opset7() {
}
```

### 3.5 实现 Paddle OP 转换的简单单测
### 3.6 实现 Paddle OP 转换的简单单测

为了确保转换的正确性,请在 OP 实现完成之后为该转换写单测,单测实现的位置在 [Paddle2ONNX/tests](../../tests) 目录下,一般命名为 **test_op_name.py**

Expand Down Expand Up @@ -242,7 +242,7 @@ if __name__ == "__main__":
test_roll()
```

### 3.5 实现 Paddle OP 转换的扫描单测
### 3.7 实现 Paddle OP 转换的扫描单测

简单单测对于简单算子就够用了,但是对于 argsort 这样的复杂算子,我们可以新建 **test_auto_scan_argsort.py** 并添加扫描单测:

Expand Down

0 comments on commit 1b79dc6

Please sign in to comment.