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

Method _clear_caches

tensorflow/python/eager/context.py:511–514  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

509 self._initialized = True
510
511 def _clear_caches(self):
512 self.ones_rank_cache().flush()
513 self.zeros_cache().flush()
514 pywrap_tensorflow.TFE_ClearScalarCache()
515
516 def set_server_def(self, server_def, keep_alive_secs=600):
517 """Allow setting a server_def on the context.

Callers 3

set_server_defMethod · 0.95
initialize_tpu_systemFunction · 0.80
decoratorFunction · 0.80

Calls 3

ones_rank_cacheMethod · 0.95
zeros_cacheMethod · 0.95
flushMethod · 0.45

Tested by 1

decoratorFunction · 0.64