code: def test_get_weight_decay_parameters__no_batch_norm() -> None:
      bn1d = nn.BatchNorm1d(10)
      bn2d = nn.BatchNorm2d(10)
      (
          params,
          params_no_weight_decay,
      ) = utils.get_weight_decay_parameters(
          modules=[bn1d, bn2d], decay_batch_norm=False
      )
      print(params, params_no_weight_decay)
      assert len(params) == 0
      assert len(params_no_weight_decay) == 4
      assert params_no_weight_decay[0] is bn1d.weight
      assert params_no_weight_decay[1] is bn1d.bias
      assert params_no_weight_decay[2] is bn2d.weight
      assert params_no_weight_decay[3] is bn2d.bias
  
imports: import copy
  import unittest
  import torch
  import torch.nn
  from lightly.models import utils
  from lightly.models.utils import _no_grad_trunc_normal, activate_requires_grad, batch_shuffle, batch_unshuffle, deactivate_requires_grad, nearest_neighbors, normalize_weight, update_momentum
label_desc: Use image node_id 5 for calling a global function with example usage: test_get_weight_decay_parameters__no_batch_norm() without return types