Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

something wrong with referenced Lasagne #50

Open
hutaocheng opened this issue Oct 5, 2015 · 0 comments
Open

something wrong with referenced Lasagne #50

hutaocheng opened this issue Oct 5, 2015 · 0 comments

Comments

@hutaocheng
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant