code: def test_all_features_cpu_model(tmpdir):
      """Test each of the trainer options."""
      seed_everything(42)
      trainer_options = {
          "default_root_dir": tmpdir,
          "gradient_clip_val": 1.0,
          "overfit_batches": 0.20,
          "enable_progress_bar": False,
          "accumulate_grad_batches": 2,
          "max_epochs": 1,
          "limit_train_batches": 0.4,
          "limit_val_batches": 0.4,
      }
  
      model = BoringModel()
      tpipes.run_model_test(trainer_options, model)
  
file_path: pytorch-lightning/tests/tests_pytorch/models/test_cpu.py
imports: import os
  from unittest import mock
  import torch
  from lightning.pytorch import Trainer, seed_everything
  from lightning.pytorch.callbacks import Callback, EarlyStopping, ModelCheckpoint
  from lightning.pytorch.demos.boring_classes import BoringModel
  import tests_pytorch.helpers.pipelines
  import tests_pytorch.helpers.utils
  from tests_pytorch.helpers.datamodules import ClassifDataModule
  from tests_pytorch.helpers.runif import RunIf
  from tests_pytorch.helpers.simple_models import ClassificationModel
label_desc: Use image node_id 9 for calling a global function with example usage: test_all_features_cpu_model(tmpdir) without return types