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

Method remove_function

tensorflow/python/eager/context.py:994–1003  ·  view source on GitHub ↗

Remove a function from the context. Once removed, the function cannot be executed anymore. Args: name: function signature name.

(self, name)

Source from the content-addressed store, hash-verified

992 self._handle, fdef_string, len(fdef_string))
993
994 def remove_function(self, name):
995 """Remove a function from the context.
996
997 Once removed, the function cannot be executed anymore.
998
999 Args:
1000 name: function signature name.
1001 """
1002 self.ensure_initialized()
1003 pywrap_tensorflow.TFE_ContextRemoveFunction(self._handle, name)
1004
1005 def has_function(self, name):
1006 """Check if a function `name` is registered."""

Callers 3

__del__Method · 0.80
remove_functionFunction · 0.80
__del__Method · 0.80

Calls 1

ensure_initializedMethod · 0.95

Tested by

no test coverage detected