code: def test_log_loss_from_probs_3_classes(self, label, expected_losses):
      # Values from http://bit.ly/RJJHWA
      pred = np.array(
          [
              [0.2, 0.7, 0.1],
              [0.6, 0.2, 0.2],
              [0.6, 0.1, 0.3],
              [0.99, 0.002, 0.008],
          ]
      )
      y = np.full(pred.shape[0], label)
      loss = utils.log_loss(y, pred)
      np.testing.assert_allclose(loss, expected_losses, atol=1e-7)
  
imports: from unittest import mock
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from tensorflow_privacy.privacy.privacy_tests import utils
label_desc: Use image node_id 2 for calling the TestLogLoss obj's underlying member method code with example usage: obj.test_log_loss_from_probs_3_classes(label, expected_losses) without return types