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

Function register

tensorflow/tensorflow/python/eager/function.py:2152–2176  ·  view source on GitHub ↗

Register a specialization of a `Function` into the graph. This won't actually call the function with the inputs, and only put the function definition into graph. Register function with different input param will result into multiple version of functions registered in graph. Args: func:

(func, *args, **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

typeFunction · 0.85
get_concrete_functionMethod · 0.45
add_to_graphMethod · 0.45

Tested by

no test coverage detected