parameters: (self, grads)
docstring: Record errors for the auxiliary variables.
docstring_summary: Record errors for the auxiliary variables.
docstring_tokens: Record errors for the auxiliary variables .
function: def record_aux_errors(self, grads):
      """Record errors for the auxiliary variables."""
      grad_regret = grads[1]
      grad_regret_flat = np.concatenate(grad_regret)
      self.aux_errors.append([np.linalg.norm(grad_regret_flat)])
function_tokens: def record_aux_errors ( self , grads ) : grad_regret = grads [ 1 ] grad_regret_flat = np . concatenate ( grad_regret ) self . aux_errors . append ( [ np . linalg . norm ( grad_regret_flat ) ] )