code: def test_noisy_dense_dtype(dtype):
      inputs = tf.convert_to_tensor(
          np.random.randint(low=0, high=7, size=(2, 2)), dtype=dtype
      )
      layer = NoisyDense(5, dtype=dtype, name="noisy_dense_" + dtype)
      outputs = layer(inputs)
      np.testing.assert_array_equal(outputs.dtype, dtype)
  
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 2 for calling a global function with example usage: test_noisy_dense_dtype(dtype) without return types