parameters: (server_rref)
docstring: r"""
          A method that clears the state of the server.
          Args:
              server_rref (RRef): remote reference to the server
docstring_summary: r"""
          A method that clears the state of the server.
          Args:
              server_rref (RRef): remote reference to the server
docstring_tokens: r A method that clears the state of the server . Args : server_rref ( RRef ) : remote reference to the server
function: def reset_state(server_rref):
          r"""
          A method that clears the state of the server.
          Args:
              server_rref (RRef): remote reference to the server
          """
          self = server_rref.local_value()
          self.batch_number = 0
          self.futures.clear()
          self.gradient_dict.clear()
          self.clear_metrics()
function_tokens: def reset_state ( server_rref ) : self = server_rref . local_value ( ) self . batch_number = 0 self . futures . clear ( ) self . gradient_dict . clear ( ) self . clear_metrics ( )