parameters: (self, name, param)
return_statement: return self._accumulators[name][target_name]
docstring: Utility function to fetch an accumulator for a parameter
          Args:
              name: name of the accumulator
              param: parameter variable for which accumulator is to be fetched
          Returns:
              accumulator variable for the parameter
docstring_summary: Utility function to fetch an accumulator for a parameter
          Args:
              name: name of the accumulator
              param: parameter variable for which accumulator is to be fetched
          Returns:
              accumulator variable for the parameter
docstring_tokens: Utility function to fetch an accumulator for a parameter Args : name : name of the accumulator param : parameter variable for which accumulator is to be fetched Returns : accumulator variable for the parameter
function: def _get_accumulator(self, name, param):
          """Utility function to fetch an accumulator for a parameter
          Args:
              name: name of the accumulator
              param: parameter variable for which accumulator is to be fetched
          Returns:
              accumulator variable for the parameter
          """
          if self._name is not None:
              name = self._name + "_" + name
          find_master = self._multi_precision and param.dtype == core.VarDesc.VarType.FP16
          target_param = self._master_weights[
              param.name] if find_master else param
          target_name = target_param.name
          if (name not in self._accumulators or
                  target_name not in self._accumulators[name]):
              raise Exception("Accumulator {} does not exist for parameter {}".
                              format(name, target_name))
          return self._accumulators[name][target_name]
function_tokens: def _get_accumulator ( self , name , param ) : if self . _name is not None : name = self . _name + "_" + name find_master = self . _multi_precision and param . dtype == core . VarDesc . VarType . FP16 target_param = self . _master_weights [ param . name ] if find_master else param target_name = target_param . name if ( name not in self . _accumulators or target_name not in self . _accumulators [ name ] ) : raise Exception ( "Accumulator {} does not exist for parameter {}" . format ( name , target_name ) ) return self . _accumulators [ name ] [ target_name ]