class_docstr: Abstract class that provides helpers for TensorFlow benchmarks.
code: def __init__(self):
      # Allow TensorFlow runtime to allocate a new threadpool with different
      # number of threads for each new benchmark.
      os.environ[OVERRIDE_GLOBAL_THREADPOOL] = "1"
      super().__init__()
  
imports: import math
  import numbers
  import os
  import re
  import sys
  import time
  import types
  from absl import app
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.core.protobuf import rewriter_config_pb2
  from tensorflow.core.util import test_log_pb2
  from tensorflow.python.client import timeline
  from tensorflow.python.framework import ops
  from tensorflow.python.platform import gfile
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.util import tf_inspect
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 1 to create a new TensorFlowBenchmark object from inherited base classes: Benchmark with example: obj = TensorFlowBenchmark()