Skip to content

Commit

Permalink
add reduce type for reduce operator (#6112)
Browse files Browse the repository at this point in the history
  • Loading branch information
XYZ-916 authored Aug 22, 2023
1 parent 188bc0a commit f0a6139
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,16 @@
### [paddle.distributed.ReduceOp](https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/api/paddle/distributed/ReduceOp_cn.html)

两者功能一致。

其中,规约操作对应如下:

| torch | paddle |
| ---- | ---- |
| SUM | SUM |
| PRODUCT | PROD |
| MIN | MIN |
| MAX | MAX |
| BAND | - |
| BOR | - |
| BXOR | - |
| PREMUL_SUM | - |

0 comments on commit f0a6139

Please sign in to comment.