code: def test_ema_run_cpu(
      self,
      test_data_dir,
      accumulate_grad_batches,
      validate_original_weights,
      tmpdir,
  ):
      self.run_training_test(
          accumulate_grad_batches=accumulate_grad_batches,
          validate_original_weights=validate_original_weights,
          accelerator="cpu",
          precision=32,
          tmpdir=tmpdir,
      )
  
imports: import os.path
  from typing import Any, Dict, Union
  import pytest
  import pytorch_lightning
  import torch
  from omegaconf import DictConfig, OmegaConf
  from pytorch_lightning import Callback, Trainer
  from pytorch_lightning.utilities.exceptions import MisconfigurationException
  from pytorch_lightning.utilities.types import STEP_OUTPUT
  from nemo.collections.common.callbacks import EMA
  from nemo.collections.common.callbacks.ema import EMAOptimizer
  from nemo.core import ModelPT
  from nemo.utils.exp_manager import exp_manager
label_desc: Use image node_id 2 for calling the TestEMATrain obj's underlying member method code with example usage: obj.test_ema_run_cpu(test_data_dir, accumulate_grad_batches, validate_original_weights, tmpdir) without return types