code: def softmax(x):
      """Softmax function with x as input vector."""
      e = np.exp(x)
      return e / np.sum(e)
  
file_path: xgboost/demo/guide-python/custom_softmax.py
imports: import argparse
  import numpy
  from matplotlib import pyplot
  import xgboost
label_desc: Use image node_id 1 for calling a global function with example usage: softmax(x) and returns: unknown