code: def test_kernel_has_correct_value(self, kernel_multiplier):
      dense_layer = keras_layers.FanInScaledDense(
          units=1,
          kernel_initializer="ones",
          kernel_multiplier=kernel_multiplier,
      )
  
      dense_layer(tf.ones((1, 4)))
      self.evaluate(tf.compat.v1.global_variables_initializer())
  
      # Checking if the 1 is correctly multiplied with sqrt(2/fan_in).
      self.assertAllClose(
          dense_layer.kernel,
          ((math.sqrt(2.0 / 4.0) * kernel_multiplier,),) * 4,
      )
  
imports: import math
  from absl.testing import parameterized
  import tensorflow
  from tensorflow_graphics.projects.gan import keras_layers
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 2 for calling the FanInScaledDenseTest obj's underlying member method code with example usage: obj.test_kernel_has_correct_value(kernel_multiplier) without return types