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

ConvElemwise now sets tied_b to the correct default #1433

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
- ConvElemwise now sets tied_b to the correct default
  • Loading branch information
GeertLitjens committed Mar 13, 2015
commit af815d86f12da1ed2071b7f21488cd3ed738f152
3 changes: 3 additions & 0 deletions pylearn2/models/mlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2969,6 +2969,9 @@ def __init__(self,

assert nonlinearity is not None

if tied_b is None:
self.tied_b = True

self.nonlin = nonlinearity
self.__dict__.update(locals())
assert monitor_style in ['classification', 'detection'], (
Expand Down