parameters: (self, gradients_mean)
docstring: Set gradients_mean flag.
  
          Note:
              If gradients_mean is true, it will insert a div operator after parameter gradients allreduce.
  
          Args:
              gradients_mean (bool): The gradients_mean flag.
docstring_summary: Set gradients_mean flag.
docstring_tokens: Set gradients_mean flag .
function: def set_gradients_mean(self, gradients_mean):
          """
          Set gradients_mean flag.
  
          Note:
              If gradients_mean is true, it will insert a div operator after parameter gradients allreduce.
  
          Args:
              gradients_mean (bool): The gradients_mean flag.
          """
          self.check_context_handle()
          self._context_handle.set_gradients_mean(gradients_mean)
function_tokens: def set_gradients_mean ( self , gradients_mean ) : self . check_context_handle ( ) self . _context_handle . set_gradients_mean ( gradients_mean )