MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / all_v2_summary_ops

Function all_v2_summary_ops

tensorflow/python/ops/summary_ops_v2.py:514–526  ·  view source on GitHub ↗

Returns all V2-style summary ops defined in the current default graph. This includes ops from TF 2.0 tf.summary and TF 1.x tf.contrib.summary (except for `tf.contrib.summary.graph` and `tf.contrib.summary.import_event`), but does *not* include TF 1.x tf.summary ops. Returns: List of su

()

Source from the content-addressed store, hash-verified

512
513@tf_export(v1=["summary.all_v2_summary_ops"])
514def all_v2_summary_ops():
515 """Returns all V2-style summary ops defined in the current default graph.
516
517 This includes ops from TF 2.0 tf.summary and TF 1.x tf.contrib.summary (except
518 for `tf.contrib.summary.graph` and `tf.contrib.summary.import_event`), but
519 does *not* include TF 1.x tf.summary ops.
520
521 Returns:
522 List of summary ops, or None if called under eager execution.
523 """
524 if context.executing_eagerly():
525 return None
526 return ops.get_collection(ops.GraphKeys._SUMMARY_COLLECTION) # pylint: disable=protected-access
527
528
529def summary_writer_initializer_op():

Callers

nothing calls this directly

Calls 2

executing_eagerlyMethod · 0.80
get_collectionMethod · 0.45

Tested by

no test coverage detected