Searched refs:hparam_def (Results 1 – 2 of 2) sorted by relevance
377 def __init__(self, hparam_def=None, model_structure=None, **kwargs): argument424 if hparam_def:425 self._init_from_proto(hparam_def)433 def _init_from_proto(self, hparam_def): argument439 assert isinstance(hparam_def, hparam_pb2.HParamDef)440 for name, value in hparam_def.hparam.items():730 def from_proto(hparam_def, import_scope=None): # pylint: disable=unused-argument argument731 return HParams(hparam_def=hparam_def)
112 hparam_def = hparams.to_proto()114 hparams2 = hparam.HParams(hparam_def=hparam_def)154 hparam_def = hparams.to_proto()156 hparams2 = hparam.HParams(hparam_def=hparam_def)204 hparam_def = hparams.to_proto()206 hparams2 = hparam.HParams(hparam_def=hparam_def)475 hparam.HParams(hparam_def=1)477 hparam.HParams(hparam_def=1.0)479 hparam.HParams(hparam_def='hello')481 hparam.HParams(hparam_def=[1, 2, 3])