I have been using tensor flow to implement a neural network, but I am not sure what is happening but I am getting this error message:
h1=tf.nn.elu(tf.matmul(X,w_h1)+b_h1)
AttributeError: 'module' object has no attribute 'elu'
If I replace tf.nn.elu(tf.matmul(X,w_h1)+b_h1)
by tf.nn.relu(tf.matmul(X,w_h1)+b_h1)
it works well.
However, the activation function elu
is listed here.
Does anybody know what must be happening?
the error must happened by tensorflow's version