code: def cli_main():
      cli = LightningCLI(
          ModelToProfile,
          CIFAR10DataModule,
          save_config_kwargs={"overwrite": True},
          trainer_defaults={
              "profiler": PyTorchProfiler(),
              "max_epochs": 1,
              "limit_train_batches": 15,
              "limit_val_batches": 15,
              "accelerator": "gpu",
          },
          run=False,
      )
      cli.trainer.fit(cli.model, datamodule=cli.datamodule)
  
imports: from os import path
  import torch
  import torchvision
  import torchvision.transforms
  from lightning.pytorch import LightningDataModule, LightningModule, cli_lightning_logo
  from lightning.pytorch.cli import LightningCLI
  from lightning.pytorch.profilers.pytorch import PyTorchProfiler
  from lightning.pytorch.utilities.model_helpers import get_torchvision_model
label_desc: Use image node_id 1 for calling a global function with example usage: cli_main() without return types