MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / __str__

Method __str__

tensorflow/contrib/training/python/training/hparam.py:665–668  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

663 return key in self._hparam_types
664
665 def __str__(self):
666 hpdict = self.values()
667 output_list = ['{}={}'.format(key, hpdict[key]) for key in hpdict]
668 return ','.join(output_list)
669
670 def __repr__(self):
671 strval = str(sorted(self.values().items()))

Callers

nothing calls this directly

Calls 3

valuesMethod · 0.95
formatMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected