MCPcopy Create free account
hub / github.com/alibaba/nann / add_function_def

Method add_function_def

tensorflow/tensorflow/python/eager/context.py:980–992  ·  view source on GitHub ↗

Add a function definition to the context. Once added, the function (identified by its name) can be executed like any other operation. Args: fdef: A FunctionDef protocol buffer message.

(self, fdef)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

add_to_graphMethod · 0.80
add_to_graphMethod · 0.80
__init__Method · 0.80

Calls 2

ensure_initializedMethod · 0.95
SerializeToStringMethod · 0.45

Tested by

no test coverage detected