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

Method __call__

tensorflow/python/eager/function.py:1819–1822  ·  view source on GitHub ↗

Calls a graph function specialized to the inputs.

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1817 self._descriptor_cache = weakref.WeakKeyDictionary()
1818
1819 def __call__(self, *args, **kwargs):
1820 """Calls a graph function specialized to the inputs."""
1821 graph_function, args, kwargs = self._maybe_define_function(args, kwargs)
1822 return graph_function._filtered_call(args, kwargs) # pylint: disable=protected-access
1823
1824 @property
1825 def python_function(self):

Callers

nothing calls this directly

Calls 2

_filtered_callMethod · 0.80

Tested by

no test coverage detected