(self)
Warning: does not synchronize the deque!
Warning: does not synchronize the deque!
Warning : does not synchronize the deque!
def synchronize_between_processes(self):
        """
        Warning: does not synchronize the deque!
        """
        t = paddle.to_tensor([self.count, self.total], dtype='float64')
        t = t.numpy().tolist()
        self.count = int(t[0])
        self.total = t[1]
def synchronize_between_processes ( self ) : t = paddle . to_tensor ( [ self . count , self . total ] , dtype = 'float64' ) t = t . numpy ( ) . tolist ( ) self . count = int ( t [ 0 ] ) self . total = t [ 1 ]