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

Method cache_keys

tensorflow/python/eager/function_test.py:1472–1474  ·  view source on GitHub ↗

Sanitizes cache keys of non-input metadata.

()

Source from the content-addressed store, hash-verified

1470 defined(0, baz=20)
1471
1472 def cache_keys():
1473 """Sanitizes cache keys of non-input metadata."""
1474 return tuple(key[0] for key in total_function_cache(defined))
1475
1476 # `True` corresponds to the fact that we're executing eagerly
1477 self.assertIn(('URRRu', (0, 1, 20)), cache_keys())

Callers

nothing calls this directly

Calls 2

tupleFunction · 0.85
total_function_cacheFunction · 0.85

Tested by

no test coverage detected