class_docstr: Class that defines the methods necessary to hook into process.
code: def __init__(self, experiment: Dict[str, Any]):
      self.experiment_name = experiment["experiment_name"]
      self.use_torch_profiler = experiment["profiler"][
          "use_torch_profiler"
      ]
      self.logging_interval = experiment["profiler"]["logging_interval"]
      self.preprocess_profiler = None
      self.train_profiler = None
      self.evaluation_profiler = None
  
file_path: ludwig/ludwig/benchmarking/profiler_callbacks.py
imports: from typing import Any, Dict
  from ludwig.api_annotations import DeveloperAPI
  from ludwig.benchmarking.profiler import LudwigProfiler
  from ludwig.callbacks import Callback
  from ludwig.constants import EVALUATION, PREPROCESSING, TRAINING
label_desc: Use image node_id 1 to create a new LudwigProfilerCallback object from inherited base classes: Callback with example: obj = LudwigProfilerCallback(experiment)