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

Method ones_rank_cache

tensorflow/python/eager/context.py:660–662  ·  view source on GitHub ↗

Per-device cache for scalars.

(self)

Source from the content-addressed store, hash-verified

658 return self._thread_local_data.is_eager
659
660 def ones_rank_cache(self):
661 """Per-device cache for scalars."""
662 return _tensor_caches_map[self._id].ones_rank_cache
663
664 def zeros_cache(self):
665 """Per-device cache for scalars."""

Callers 2

_clear_cachesMethod · 0.95
_SumGradFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected