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

Function wrap_function

tensorflow/tensorflow/python/eager/wrap_function.py:542–612  ·  view source on GitHub ↗

Wraps the TF 1.x function fn into a graph function. The python function `fn` will be called once with symbolic arguments specified in the `signature`, traced, and turned into a graph function. Any variables created by `fn` will be owned by the object returned by `wrap_function`. The resulti

(fn, signature, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

function_from_graph_defFunction · 0.85

Calls 2

VariableHolderClass · 0.85
WrappedFunctionClass · 0.85

Tested by

no test coverage detected