parameters: (self, key, cuda=True)
docstring: r"""
          A helper method that records a batch metric
          for the given key. A user should call this when
          the first gradient for the param location is received.
          Args:
              key (str): unique id for metric within a group
              cuda (bool): indicator to determine if this is a CUDA metric
docstring_summary: r"""
          A helper method that records a batch metric
          for the given key. A user should call this when
          the first gradient for the param location is received.
          Args:
              key (str): unique id for metric within a group
              cuda (bool): indicator to determine if this is a CUDA metric
docstring_tokens: r A helper method that records a batch metric for the given key . A user should call this when the first gradient for the param location is received . Args : key ( str ) : unique id for metric within a group cuda ( bool ) : indicator to determine if this is a CUDA metric
function: def record_batch_start(self, key, cuda=True):
          r"""
          A helper method that records a batch metric
          for the given key. A user should call this when
          the first gradient for the param location is received.
          Args:
              key (str): unique id for metric within a group
              cuda (bool): indicator to determine if this is a CUDA metric
          """
          self.__metrics_logger.record_start(
              self.PARAMETER_SERVER_BATCH_METRIC,
              key,
              self.PARAM_INDEX_BATCH,
              cuda
          )
function_tokens: def record_batch_start ( self , key , cuda = True ) : self . __metrics_logger . record_start ( self . PARAMETER_SERVER_BATCH_METRIC , key , self . PARAM_INDEX_BATCH , cuda )