code: def _softmax_func(self, x, axis=-1):
      exp_x = np.exp(x)
      sum_exp_x = np.sum(exp_x, axis=axis, keepdims=True)
      return exp_x / sum_exp_x
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import neural_structured_learning.configs
  from neural_structured_learning.lib import distances
  import numpy
  import tensorflow
label_desc: Use image node_id 3 for calling the DistancesTest obj's underlying member method code with example usage: obj._softmax_func(x, axis) and returns: unknown