class_docstr: Save profiles in specified step range to log directory.
code: def on_epoch_begin(self, epoch, logs=None):
      if epoch == self.start_epoch:
          self.should_start = True
      if epoch == self.stop_epoch:
          self.should_stop = True
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import time
  import tensorflow
  from tensorflow.core.protobuf import rewriter_config_pb2
  from tensorflow.python import tf2
  from tensorflow.python.eager import profiler
label_desc: Use image node_id 2 for calling the ProfilerCallback obj's underlying member method code with example usage: obj.on_epoch_begin(epoch, logs) without return types