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

Method _add_function

tensorflow/tensorflow/python/framework/ops.py:3263–3293  ·  view source on GitHub ↗

Adds a function to the graph. After the function has been added, you can call to the function by passing the function name in place of an op name to `Graph.create_op()`. Args: function: A `_DefinedFunction` object. Raises: ValueError: if another function is defined

(self, function)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

add_to_graphMethod · 0.45
add_to_graphMethod · 0.45
pruneMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected