code: def _weight_decay(c: OptimizerConfigs):
      return WeightDecay(
          c.weight_decay, c.weight_decouple, c.weight_decay_absolute
      )
  
file_path: annotated_deep_learning_paper_implementations/labml_nn/optimizers/configs.py
imports: from typing import Tuple
  import torch
  from labml.configs import BaseConfigs, option, meta_config
  from labml_nn.optimizers import WeightDecay
label_desc: Use image node_id 1 for calling a global function with example usage: _weight_decay(c) and returns: WeightDecay