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

Function to_graph_v1

tensorflow/tensorflow/python/autograph/impl/api.py:622–690  ·  view source on GitHub ↗

Converts a Python entity into a TensorFlow graph. Also see: `tf.autograph.to_code`, `tf.function`. Unlike `tf.function`, `to_graph` is a low-level transpiler that converts Python code to TensorFlow graph code. It does not implement any caching, variable management or create any actual ops,

(entity,
                recursive=True,
                arg_values=None,
                arg_types=None,
                experimental_optional_features=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

to_graphFunction · 0.85

Tested by

no test coverage detected