code: def test_single_output_case(self):
      compile_loss = CompileLoss(
          loss=losses_module.MeanSquaredError(),
      )
      # Test symbolic build
      y_true, y_pred = backend.KerasTensor((3, 4)), backend.KerasTensor(
          (3, 4)
      )
      compile_loss.build(y_true, y_pred)
      # Test eager build
      y_true = np.array([[0.1, 0.2], [0.3, 0.4], [0.5, 0.6]])
      y_pred = np.array([[0.4, 0.1], [0.2, 0.6], [0.6, 0.1]])
      compile_loss.build(y_true, y_pred)
      value = compile_loss(y_true, y_pred)
      self.assertAllClose(value, 0.068333, atol=1e-5)
  
imports: import numpy
  from absl.testing import parameterized
  from keras import backend
  from keras import metrics
  from keras import metrics
  from keras import ops
  from keras import testing
  from keras.trainers.compile_utils import CompileLoss
  from keras.trainers.compile_utils import CompileMetrics
label_desc: Use image node_id 1 for calling the TestCompileLoss obj's underlying member method code with example usage: obj.test_single_output_case() without return types