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

Function to_graph

tensorflow/tensorflow/python/autograph/impl/api.py:550–618  ·  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, experimental_optional_features=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

to_graph_v1Function · 0.85
to_codeFunction · 0.85

Calls 4

ConversionErrorClass · 0.85
errorMethod · 0.80
convertMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected