MCPcopy Create free account
hub / github.com/tensorflow/tensorboard / has_data

Method has_data

tensorboard/uploader/upload_tracker.py:156–169  ·  view source on GitHub ↗

Has any data been tracked by this instance. This counts the tensor and blob data that have been scanned but skipped. Returns: Whether this stats tracking object has tracked any data.

(self)

Source from the content-addressed store, hash-verified

154 return self._plugin_names
155
156 def has_data(self):
157 """Has any data been tracked by this instance.
158
159 This counts the tensor and blob data that have been scanned
160 but skipped.
161
162 Returns:
163 Whether this stats tracking object has tracked any data.
164 """
165 return (
166 self._num_scalars > 0
167 or self._num_tensors > 0
168 or self._num_blobs > 0
169 )
170
171 def summarize(self):
172 """Get a summary string for actually-uploaded and skipped data.

Calls

no outgoing calls