From f0a61399ec8b5a8decd5a202081648dd001e8586 Mon Sep 17 00:00:00 2001 From: XYZ <1290573099@qq.com> Date: Tue, 22 Aug 2023 17:33:01 +0800 Subject: [PATCH] add reduce type for reduce operator (#6112) --- .../distributed/torch.distributed.ReduceOp.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/guides/model_convert/convert_from_pytorch/api_difference/distributed/torch.distributed.ReduceOp.md b/docs/guides/model_convert/convert_from_pytorch/api_difference/distributed/torch.distributed.ReduceOp.md index 2df312159ab..b391fc32e09 100644 --- a/docs/guides/model_convert/convert_from_pytorch/api_difference/distributed/torch.distributed.ReduceOp.md +++ b/docs/guides/model_convert/convert_from_pytorch/api_difference/distributed/torch.distributed.ReduceOp.md @@ -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 | - |