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
()
| 512 | |
| 513 | @tf_export(v1=["summary.all_v2_summary_ops"]) |
| 514 | def 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 | |
| 529 | def summary_writer_initializer_op(): |
nothing calls this directly
no test coverage detected