code: def _gen_l2_regularizer(use_l2_regularizer=True):
      return (
          regularizers.l2(L2_WEIGHT_DECAY)
          if use_l2_regularizer
          else None
      )
  
file_path: DALI/docs/examples/use_cases/tensorflow/resnet-n/resnet_model.py
imports: import tensorflow
  from tensorflow.keras import backend
  from tensorflow.keras import initializers
  from tensorflow.keras import models
  from tensorflow.keras import regularizers
  from nvutils import image_processing
label_desc: Use image node_id 1 for calling a global function with example usage: _gen_l2_regularizer(use_l2_regularizer) and returns: unknown