code: def testing_training_cfg():
      config_params = {
          "train_params": {
              "adapt_lambda": True,
              "adapt_lr": True,
              "lambda_init": 1,
              "nb_adapt_epochs": 2,
              "nb_init_epochs": 1,
              "init_lr": 0.001,
              "batch_size": 2,
              "optimizer": {
                  "type": "SGD",
                  "optim_params": {
                      "momentum": 0.9,
                      "weight_decay": 0.0005,
                      "nesterov": True,
                  },
              },
          }
      }
      yield config_params
  
file_path: pykale/tests/pipeline/test_video_domain_adapter.py
imports: from pathlib import Path
  import pytest
  from yacs.config import CfgNode
  from kale.loaddata.video_access import VideoDataset
  from kale.loaddata.video_multi_domain import VideoMultiDomainDatasets
  from kale.pipeline import domain_adapter, video_domain_adapter
  from kale.predict.class_domain_nets import ClassNetVideo, DomainNetVideo
  from kale.utils.seed import set_seed
  from tests.helpers.boring_model import VideoBoringModel
  from tests.helpers.pipe_test_helper import ModelTestHelper
label_desc: Use image node_id 2 for calling a global function with example usage: testing_training_cfg() without return types