x_exp=np.exp(x) x_sum=np.sum(x_exp) s=x_exp/x_sum
#this is the softmax function
Hi @tareq_sarayji
This doc explains the parameters used for calling np.sum().