add_histogram¶
-
tfsnippet.utils.
add_histogram
(tensor, summary_name=None, strip_scope=False, collections=None, name=None)¶ Add the histogram of tensor to the default summary collector, and to collections.
Parameters: - tensor – Take histogram of this tensor.
- summary_name – Specify the summary name for tensor.
- strip_scope – If
True
, strip the name scope from tensor.name when adding the histogram. - collections – Also add the histogram to these collections. Defaults to self.collections.
Returns: The serialized histogram tensor of tensor.