Module: tf.autograph

大牛时代配资Conversion of plain Python into TensorFlow graph code.

NOTE: In TensorFlow 2.0, AutoGraph is automatically applied when using tf.function. This module contains lower-level APIs for advanced use.

大牛时代配资For more information, see the .

By equivalent graph code we mean code that generates a TensorFlow graph when run. The generated graph has the same effects as the original code when executed (for example with tf.function or tf.compat.v1.Session.run大牛时代配资). In other words, using AutoGraph can be thought of as running Python in TensorFlow.


experimental大牛时代配资 module: Public API for tf.autograph.experimental namespace.


set_verbosity(...)大牛时代配资: Sets the AutoGraph verbosity level.

to_code(...): Similar to to_graph, but returns Python source code as a string.

to_graph(...)大牛时代配资: Converts a Python entity into a TensorFlow graph.

trace(...): Traces argument information at compilation time.

results matching ""

    No results matching ""