TensorFlow

API

 tf.compat / v1 / v1.get_collection_ref


Returns the default graph for the current thread.

The returned graph will be the innermost graph on which a Graph.as_default() context has been entered, or a global default graph if none has been explicitly created.

The default Graph being used in the current thread.

此页内容是否对您有帮助