code: def _softmax(x, axis=-1):
      x = x - np.amax(x, axis, keepdims=True)
      e_x = np.exp(x)
  
      return e_x / e_x.sum(axis, keepdims=True)
  
file_path: ImageAI/imageai_tf_deprecated/Detection/Custom/utils/utils.py
imports: import cv2
  import numpy
  import os
  from .bbox import BoundBox, bbox_iou
  from scipy.special import expit
label_desc: Use image node_id 12 for calling a global function with example usage: _softmax(x, axis) and returns: unknown