Python class
ReduceOp
ReduceOp
class max.experimental.sharding.ReduceOp(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Reduction operations for partial placements.
Matches the standard set from PyTorch’s c10d::ReduceOp.
Note
AVG
AVG = 'avg'
MAX
MAX = 'max'
MIN
MIN = 'min'
SUM
SUM = 'sum'
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!