MCPcopy
hub / github.com/tensorflow/models / get

Method get

official/projects/yolo/configs/yolo.py:53–60  ·  view source on GitHub ↗

Allow for a key for each level or a single key for all the levels.

(self)

Source from the content-addressed store, hash-verified

51 all: Optional[Any] = None
52
53 def get(self):
54 """Allow for a key for each level or a single key for all the levels."""
55 values = self.as_dict()
56 if 'all' in values and values['all'] is not None:
57 for key in values:
58 if key != 'all':
59 values[key] = values['all']
60 return values
61
62
63# pylint: disable=missing-class-docstring

Callers 15

buildMethod · 0.45
_buildMethod · 0.45
__init__Method · 0.45
build_optimizerFunction · 0.45
run_bert_classifierFunction · 0.45
export_classifierFunction · 0.45
custom_mainFunction · 0.45
prediction_output_squadFunction · 0.45
predict_squadFunction · 0.45
eval_squadFunction · 0.45
callMethod · 0.45
callMethod · 0.45

Calls 1

as_dictMethod · 0.45