code: def test_checkpoint_size(self):
      self.assertEqual(
          metrics.GetCheckpointSize(api_label="baz", filesize=100), 0
      )
      metrics.RecordCheckpointSize(api_label="baz", filesize=100)
      metrics.RecordCheckpointSize(api_label="baz", filesize=100)
      self.assertEqual(
          metrics.GetCheckpointSize(api_label="baz", filesize=100), 2
      )
  
imports: import os
  from tensorflow.core.framework import summary_pb2
  from tensorflow.core.framework import versions_pb2
  from tensorflow.core.protobuf import fingerprint_pb2
  from tensorflow.python.eager import test
  from tensorflow.python.saved_model.pywrap_saved_model import metrics
label_desc: Use image node_id 9 for calling the MetricsTest obj's underlying member method code with example usage: obj.test_checkpoint_size() without return types