code: def test_get_weight_decay_parameters__no_bias() -> None:
      linear = nn.Linear(10, 10)
      param, param_no_weight_decay = utils.get_weight_decay_parameters(
          modules=[linear], decay_bias=False
      )
      assert len(param) == 1
      assert len(param_no_weight_decay) == 1
      assert param[0] is linear.weight
      assert param_no_weight_decay[0] is linear.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 7 for calling a global function with example usage: test_get_weight_decay_parameters__no_bias() without return types