Hi YWei ,
Some examples were shared above, where softmax is done on host computer using numpy:
def softmax(x):
"""Compute softmax values for each sets of scores in x."""
e_x = np.exp(x - np.max(x))
return e_x / e_x.sum(axis=0)
You can also use pure python to accomplish the same, and run it inside Script node (on-device), so standalone mode would be possible.