code: def test_noisy_dense_regularization():
      layer = NoisyDense(
          3,
          kernel_regularizer=keras.regularizers.l1(0.01),
          bias_regularizer="l1",
          activity_regularizer="l2",
          name="noisy_dense_reg",
      )
      layer(keras.backend.variable(np.ones((2, 4))))
      np.testing.assert_array_equal(5, len(layer.losses))
  
file_path: addons/tensorflow_addons/layers/tests/noisy_dense_test.py
imports: import pytest
  import numpy
  import tensorflow
  from tensorflow import keras
  from tensorflow_addons.utils import test_utils
  from tensorflow_addons.layers.noisy_dense import NoisyDense
label_desc: Use image node_id 4 for calling a global function with example usage: test_noisy_dense_regularization() without return types