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

Method __init__

tensorboard/uploader/upload_tracker.py:42–54  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 """Statistics of uploading."""
41
42 def __init__(self):
43 self._last_summarized_timestamp = time.time()
44 self._last_data_added_timestamp = 0
45 self._num_scalars = 0
46 self._num_tensors = 0
47 self._num_tensors_skipped = 0
48 self._tensor_bytes = 0
49 self._tensor_bytes_skipped = 0
50 self._num_blobs = 0
51 self._num_blobs_skipped = 0
52 self._blob_bytes = 0
53 self._blob_bytes_skipped = 0
54 self._plugin_names = set()
55
56 def add_scalars(self, num_scalars):
57 """Add a batch of scalars.

Callers

nothing calls this directly

Calls 2

setFunction · 0.85
timeMethod · 0.45

Tested by

no test coverage detected