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

Method zeros_cache

tensorflow/python/eager/context.py:664–666  ·  view source on GitHub ↗

Per-device cache for scalars.

(self)

Source from the content-addressed store, hash-verified

662 return _tensor_caches_map[self._id].ones_rank_cache
663
664 def zeros_cache(self):
665 """Per-device cache for scalars."""
666 return _tensor_caches_map[self._id].zeros_cache
667
668 @property
669 def scope_name(self):

Callers 2

_clear_cachesMethod · 0.95
_zerosFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected