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

Function add_dict_to_dict

tensorflow/tools/docs/generate_lib.py:219–224  ·  view source on GitHub ↗
(add_from, add_to)

Source from the content-addressed store, hash-verified

217
218
219def add_dict_to_dict(add_from, add_to):
220 for key in add_from:
221 if key in add_to:
222 add_to[key].extend(add_from[key])
223 else:
224 add_to[key] = add_from[key]
225
226
227# Exclude some libraries in contrib from the documentation altogether.

Callers 3

extractFunction · 0.85
add_to_private_mapMethod · 0.85

Calls 1

extendMethod · 0.45

Tested by

no test coverage detected