add_summary

tfsnippet.add_summary(summary, collections=None)

Add the summary to the default summary collector, and to collections.

Parameters:
  • summary – TensorFlow summary tensor.
  • collections – Also add the summary to these collections. Defaults to self.collections.
Returns:

The summary tensor.