(self, values)
return self.override_from_dict(values_map)
Override hyperparameter values, parsing new values from a string.

    See parse_values for more detail on the allowed format for values.

    Args:
      values: String.  Comma separated list of `name=value` pairs where
        'value' must follow the syntax described above.

    Returns:
      The `HParams` instance.

    Raises:
      ValueError: If `values` cannot be parsed.
Override hyperparameter values, parsing new values from a string.
Override hyperparameter values parsing new values from a string .
def parse(self, values):
    """Override hyperparameter values, parsing new values from a string.

    See parse_values for more detail on the allowed format for values.

    Args:
      values: String.  Comma separated list of `name=value` pairs where
        'value' must follow the syntax described above.

    Returns:
      The `HParams` instance.

    Raises:
      ValueError: If `values` cannot be parsed.
    """
    type_map = dict()
    for name, t in self._hparam_types.items():
      param_type, _ = t
      type_map[name] = param_type

    values_map = parse_values(values, type_map)
    return self.override_from_dict(values_map)
def parse ( self , values ) : type_map = dict ( ) for name , t in self . _hparam_types . items ( ) : param_type , _ = t type_map [ name ] = param_type values_map = parse_values ( values , type_map ) return self . override_from_dict ( values_map )