class_docstr: Test convert_logit_to_prob.
class_docstr_tok: ["Test","convert_logit_to_prob","."]
docstr: Test convert_logit_to_prob.
docstr_tok: ["Test","convert_logit_to_prob","."]
code: def test_convert_logit_to_prob(self):
      """Test convert_logit_to_prob."""
      logit = np.array([[10, -1, 0.0], [-10, 0, -11]])
      prob = amia.convert_logit_to_prob(logit)
      expected = np.array(
          [
              [9.99937902e-01, 1.67006637e-05, 4.53971105e-05],
              [4.53971105e-05, 9.99937902e-01, 1.67006637e-05],
          ]
      )
      np.testing.assert_allclose(prob, expected, atol=1e-5)
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack import advanced_mia
label_desc: Use image node_id 1 for calling the TestLogitProbConversion obj's underlying member method code with example usage: obj.test_convert_logit_to_prob() without return types