Overview of summary operations

Summaries provide a way to export condensed information about a model, which is then accessible in tools such as TensorBoard.

Some of the commonly used summary functions are:

  • scalar
  • histogram
  • audio
  • image
  • merge
  • merge_all

A scalar summary operation returns a scalar, that is, the value of a certain metric over an increasing number of epochs.

A histogram summary operation returns the histogram of various values—potentially weights and biases at each layer.

The image and audio summary operations return images and audio, which can be visualized and played in TensorBoard respectively.

A merge operation returns the union of all the values of input summaries, while merge_all returns the union of all the summaries contained ...

Get Hands-On Machine Learning on Google Cloud Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.