code: def softmax(self, x):
      e_x = np.exp(x - np.max(x))
      return e_x / e_x.sum()
  
file_path: AdvBox/adversarialbox/attacks/localsearch.py
imports: from __future__ import division
  from builtins import zip
  from builtins import str
  from builtins import range
  import logging
  from collections import Iterable
  import numpy
  from .base import Attack
label_desc: Use image node_id 2 for calling the LocalSearchAttack obj's underlying member method code with example usage: obj.softmax(x) and returns: unknown