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

Function _parse_fail

tensorflow/contrib/training/python/training/hparam.py:46–50  ·  view source on GitHub ↗

Helper function for raising a value error for bad assignment.

(name, var_type, value, values)

Source from the content-addressed store, hash-verified

44
45
46def _parse_fail(name, var_type, value, values):
47 """Helper function for raising a value error for bad assignment."""
48 raise ValueError(
49 'Could not parse hparam \'%s\' of type \'%s\' with value \'%s\' in %s' %
50 (name, var_type.__name__, value, values))
51
52
53def _reuse_fail(name, values):

Callers 4

_process_scalar_valueFunction · 0.85
_process_list_valueFunction · 0.85
parse_boolFunction · 0.85
parse_valuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected