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

Method _get_function

tensorflow/python/framework/ops.py:3256–3265  ·  view source on GitHub ↗

Returns the function definition for 'name'. Args: name: string function name. Returns: The function def proto.

(self, name)

Source from the content-addressed store, hash-verified

3254 return compat.as_str(name) in self._functions
3255
3256 def _get_function(self, name):
3257 """Returns the function definition for 'name'.
3258
3259 Args:
3260 name: string function name.
3261
3262 Returns:
3263 The function def proto.
3264 """
3265 return self._functions.get(compat.as_str(name), None)
3266
3267 def _add_function(self, function):
3268 """Adds a function to the graph.

Callers 7

_GradientsHelperFunction · 0.80
_get_graphFunction · 0.80
__exit__Method · 0.80
fFunction · 0.80

Calls 1

getMethod · 0.45

Tested by 1