class_docstr: Class to log the benchmark information to local disk.
class_docstr_tok: ["Class","to","log","the","benchmark","information","to","local","disk","."]
code: def on_finish(self, status):
      self._metric_file_handler.flush()
      self._metric_file_handler.close()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import contextlib
  import datetime
  import json
  import multiprocessing
  import numbers
  import os
  import threading
  import uuid
  from six.moves import _thread
  from absl import flags
  import tensorflow
  from tensorflow.python.client import device_lib
  from utils.logs import cloud_lib
label_desc: Use image node_id 4 for calling the BenchmarkFileLogger obj's underlying member method code with example usage: obj.on_finish(status) without return types