def compute(self):
     collective.allreduce(self.send, "177")
     return self.send
Ejemplo n.º 2
0
 def do_allreduce(self, group_name="default", op=ReduceOp.SUM):
     col.allreduce(self.buffer, group_name, op)
     return self.buffer
Ejemplo n.º 3
0
 def compute(self):
     collective.allreduce(self.send, "default")
     print(self.send)
     return self.send