Skip to content
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
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