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

Function object_list_uid

tensorflow/python/keras/utils/generic_utils.py:562–565  ·  view source on GitHub ↗

Creates a single string from object ids.

(object_list)

Source from the content-addressed store, hash-verified

560
561
562def object_list_uid(object_list):
563 """Creates a single string from object ids."""
564 object_list = nest.flatten(object_list)
565 return ', '.join([str(abs(id(x))) for x in object_list])
566
567
568def to_snake_case(name):

Callers

nothing calls this directly

Calls 3

absFunction · 0.50
flattenMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected