.. _cn_api_paddle_distributed_ReduceOp:

ReduceOp
-------------------------------

.. py:class:: paddle.distributed.ReduceOp()

指定规约操作的类型，必须是下述值之一：

    ReduceOp.SUM

    ReduceOp.MAX

    ReduceOp.MIN

    ReduceOp.PROD

代码示例
:::::::::

COPY-FROM: paddle.distributed.ReduceOp
