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

Function _IsFunction

tensorflow/python/ops/gradients_util.py:420–422  ·  view source on GitHub ↗
(graph)

Source from the content-addressed store, hash-verified

418
419
420def _IsFunction(graph):
421 return (isinstance(graph, FuncGraph) or
422 isinstance(graph, framework_function._FuncGraph)) # pylint: disable=protected-access
423
424
425def _Captures(func_graph):

Callers 3

_MaybeCapturedFunction · 0.85
_InputsFunction · 0.85
_GradientsHelperFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected