class_docstr: Statistics of uploading.
class_docstr_tok: ["Statistics","of","uploading","."]
docstr: Add a batch of scalars.
  
  Args:
    num_scalars: Number of scalars uploaded in this batch.
code: def add_scalars(self, num_scalars):
      """Add a batch of scalars.
  
      Args:
        num_scalars: Number of scalars uploaded in this batch.
      """
      self._refresh_last_data_added_timestamp()
      self._num_scalars += num_scalars
  
imports: import contextlib
  from datetime import datetime
  import sys
  import time
label_desc: Use image node_id 2 for calling the UploadStats obj's underlying member method code with example usage: obj.add_scalars(num_scalars) without return types