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

Function func_graph_from_py_func

tensorflow/tensorflow/python/framework/function.py:880–967  ·  view source on GitHub ↗

Returns a _FuncGraph generated from `func`. Args: func: A Python callable which constructs a TF function body. The arguments must correspond to `arg_types`. Returns a value or list/tuple of values. No returned value can be None. arg_names: A sequence of strings for the functio

(func,
                            arg_names,
                            arg_types,
                            name=None,
                            capture_by_value=False,
                            device=None,
                            colocation_stack=None,
                            container=None,
                            collections_ref=None,
                            arg_shapes=None,
                            whitelisted_stateful_ops=None,
                            capture_resource_var_by_value=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 9

_FuncGraphClass · 0.85
anyFunction · 0.85
variable_scopeMethod · 0.80
funcFunction · 0.50
as_defaultMethod · 0.45
deviceMethod · 0.45
placeholderMethod · 0.45
appendMethod · 0.45
captureMethod · 0.45

Tested by

no test coverage detected