code: def test_generator_loss_jacobian_preset(
      self, loss_function, loss_input_value
  ):
      loss_input_init = np.full(
          shape=(2, 3), fill_value=loss_input_value, dtype=np.float32
      )
      loss_input = tf.convert_to_tensor(value=loss_input_init)
  
      loss = loss_function(loss_input)
  
      with self.subTest(name="is_finite"):
          self.assert_jacobian_is_finite(
              loss_input, loss_input_init, loss
          )
      with self.subTest(name="is_correct"):
          self.assert_jacobian_is_correct(
              loss_input, loss_input_init, loss, delta=1e-4, atol=1e-3
          )
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.projects.gan import losses
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 18 for calling the LossesTest obj's underlying member method code with example usage: obj.test_generator_loss_jacobian_preset(loss_function, loss_input_value) without return types