code: def test_softmax_2d_axis_0(self):
      x = np.random.random((2, 5))
      result = activations.softmax(x[np.newaxis, :], axis=1)[0]
      expected = np.zeros((2, 5))
      for i in range(5):
          expected[:, i] = _ref_softmax(x[:, i])
      self.assertAllClose(result, expected, rtol=1e-05)
  
imports: import numpy
  from keras import activations
  from keras import backend
  from keras import testing
label_desc: Use image node_id 2 for calling the ActivationsTest obj's underlying member method code with example usage: obj.test_softmax_2d_axis_0() without return types