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

Function add_image_summaries

tensorflow/contrib/slim/python/slim/summaries.py:169–183  ·  view source on GitHub ↗

Adds an image summary for each of the given tensors. Args: tensors: A list of variable or op tensors. prefix: An optional prefix for the summary names. Returns: A list of scalar `Tensors` of type `string` whose contents are the serialized `Summary` protocol buffer.

(tensors, prefix=None)

Source from the content-addressed store, hash-verified

167
168
169def add_image_summaries(tensors, prefix=None):
170 """Adds an image summary for each of the given tensors.
171
172 Args:
173 tensors: A list of variable or op tensors.
174 prefix: An optional prefix for the summary names.
175
176 Returns:
177 A list of scalar `Tensors` of type `string` whose contents are the
178 serialized `Summary` protocol buffer.
179 """
180 summary_ops = []
181 for tensor in tensors:
182 summary_ops.append(add_image_summary(tensor, prefix=prefix))
183 return summary_ops
184
185
186def add_scalar_summaries(tensors, prefix=None, print_summary=False):

Callers

nothing calls this directly

Calls 2

add_image_summaryFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected