code: def test_l2_regularization(self):
      network = layers.join(
          layers.Input(10),
          layers.Relu(5, weight=2, bias=2),
      )
      regularizer = algorithms.l2(0.01, exclude=["bias"])
  
      regularization_cost = self.eval(regularizer(network))
      self.assertAlmostEqual(regularization_cost, 2.0)
  
file_path: neupy/tests/algorithms/test_regularizers.py
imports: import numpy
  from neupy import algorithms, layers
  from base import BaseTestCase
  from helpers import simple_classification
label_desc: Use image node_id 1 for calling the L2RegularizationTestCase obj's underlying member method code with example usage: obj.test_l2_regularization() without return types