code: def test_noisy_dense_reset_noise():
      inputs = tf.convert_to_tensor(
          np.random.randint(low=0, high=7, size=(2, 2))
      )
      layer = NoisyDense(5, name="noise_dense_auto_reset_noise")
      layer(inputs)
      initial_eps_kernel = tf.identity(layer.eps_kernel)
      initial_eps_bias = tf.identity(layer.eps_bias)
      layer.reset_noise()
      layer(inputs)
      new_eps_kernel = layer.eps_kernel
      new_eps_bias = layer.eps_bias
      np.testing.assert_raises(
          AssertionError,
          np.testing.assert_array_equal,
          initial_eps_kernel,
          new_eps_kernel,
      )
      np.testing.assert_raises(
          AssertionError,
          np.testing.assert_array_equal,
          initial_eps_bias,
          new_eps_bias,
      )
  
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 6 for calling a global function with example usage: test_noisy_dense_reset_noise() without return types