I am building a deconvolution network. I would like to add a layer to it which is the reverse of a softmax. I tried to write a basic python function that returns the inverse of
Thanks it works ! I put :
import keras.backend as K def inv_softmax(x,C): return K.log(x)+K.log(C)