deep_q_rl
deep_q_rl copied to clipboard
something wrong with referenced Lasagne
the Lasagne.layers.Conv2DCCLayer used the default nonlinearity(activation), which use non existed theano.tensor.nnet.relu
The following code is in Line 142, Lasagne.nonlinearities.py
rectify
def rectify(x):
"""Rectify activation function :math:\\varphi(x) = \\max(0, x)
Parameters
----------
x : float32
The activation (the summed, weighted input of a neuron).
Returns
-------
float32
The output of the rectify function applied to the activation.
"""
return theano.tensor.nnet.relu(x)