code: def __init__(self):
      super().__init__()
      self.profiler_args = {
          "activities": [ProfilerActivity.CPU],
          "record_shapes": True,
          "on_trace_ready": tensorboard_trace_handler(
              "/tmp/output/resnet-152-batch"
          ),
      }
  
imports: from ts.torch_handler.image_classifier import ImageClassifier
  from torch.profiler import ProfilerActivity, tensorboard_trace_handler
label_desc: Use image node_id 1 to create a new ResnetHandler object from inherited base classes: ImageClassifier with example: obj = ResnetHandler()