code: def test_temperature_effect(self):
      input_arr = np.array([1.0, 2.0, 3.0])
      output_high_temp = softmax(input_arr, temperature=5.0)
      output_low_temp = softmax(input_arr, temperature=0.1)
  
      expected_high_temp = np.array([0.2693075, 0.32893292, 0.40175958])
      expected_low_temp = np.array(
          [2.06106005e-09, 4.53978686e-05, 9.99954600e-01]
      )
  
      assert np.allclose(output_high_temp, expected_high_temp)
      assert np.allclose(output_low_temp, expected_low_temp)
  
file_path: cleanlab/tests/internal/test_numerics.py
imports: import pytest
  import numpy
  from cleanlab.internal.numerics import softmax
label_desc: Use image node_id 2 for calling the TestSoftmax obj's underlying member method code with example usage: obj.test_temperature_effect() without return types