牙出血什么原因

class paddle.distributed. ReduceType
百度 记者走访车市发现,将近八成的经销商库存都超过36天,其中一汽大众、上海大众、北京现代、别克、一汽丰田、东风日产、奇瑞、比亚迪、长城等主流经销商的库存压力加大,最高超过60天。

Specify the type of operation used for paddle.distributed.Partial(). It should be one of the following values:

  • ReduceType.kRedSum

  • ReduceType.kRedMax

  • ReduceType.kRedMin

  • ReduceType.kRedProd

  • ReduceType.kRedAvg

  • ReduceType.kRedAny

  • ReduceType.kRedAll

Examples:
>>> import paddle
>>> import paddle.distributed as dist
>>> mesh = dist.ProcessMesh([0, 1], dim_names=["x"])
>>> a = paddle.ones([10, 20])
>>> 
>>> # distributed tensor
>>> d_tensor = dist.shard_tensor(a, mesh, [dist.Partial(dist.ReduceType.kRedSum)])

Members:

kRedSum

kRedMax

kRedMin

kRedProd

kRedAvg

kRedAny

kRedAll

property name