c90f98eaec8e4d0999309862ccc6a453fade82df,keras/layers/core.py,MaxoutDense,__init__,#MaxoutDense#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,525
Before Change
self.regularizers.append(self.b_regularizer)
self.activity_regularizer = regularizers.get(activity_regularizer)
self.activity_regularizer.set_layer(self)
self.regularizers.append(self.activity_regularizer)
self.W_constraint = constraints.get(W_constraint)
self.b_constraint = constraints.get(b_constraint)
After Change
self.regularizers = []
self.W_regularizer = regularizers.get(W_regularizer)
if self.W_regularizer:
self.W_regularizer.set_param(self.W)
self.regularizers.append(self.W_regularizer)
self.b_regularizer = regularizers.get(b_regularizer)
if self.b_regularizer:
self.b_regularizer.set_param(self.b)
self.regularizers.append(self.b_regularizer)
self.activity_regularizer = regularizers.get(activity_regularizer)
if self.activity_regularizer:
self.activity_regularizer.set_layer(self)
self.regularizers.append(self.activity_regularizer)
self.W_constraint = constraints.get(W_constraint)
self.b_constraint = constraints.get(b_constraint)
self.constraints = [self.W_constraint, self.b_constraint]
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 12
Instances
Project Name: keras-team/keras
Commit Name: c90f98eaec8e4d0999309862ccc6a453fade82df
Time: 2015-07-15
Author: max.pumperla@numberfour.eu
File Name: keras/layers/core.py
Class Name: MaxoutDense
Method Name: __init__
Project Name: keras-team/keras
Commit Name: c90f98eaec8e4d0999309862ccc6a453fade82df
Time: 2015-07-15
Author: max.pumperla@numberfour.eu
File Name: keras/layers/core.py
Class Name: Dense
Method Name: __init__
Project Name: keras-team/keras
Commit Name: 6c695493c97f2f7fcfda38d2f28174c38c7ed152
Time: 2015-07-15
Author: max.pumperla@numberfour.eu
File Name: keras/layers/convolutional.py
Class Name: Convolution1D
Method Name: __init__
Project Name: keras-team/keras
Commit Name: 6c695493c97f2f7fcfda38d2f28174c38c7ed152
Time: 2015-07-15
Author: max.pumperla@numberfour.eu
File Name: keras/layers/convolutional.py
Class Name: Convolution2D
Method Name: __init__
Project Name: keras-team/keras
Commit Name: c90f98eaec8e4d0999309862ccc6a453fade82df
Time: 2015-07-15
Author: max.pumperla@numberfour.eu
File Name: keras/layers/core.py
Class Name: TimeDistributedDense
Method Name: __init__
Project Name: keras-team/keras
Commit Name: c90f98eaec8e4d0999309862ccc6a453fade82df
Time: 2015-07-15
Author: max.pumperla@numberfour.eu
File Name: keras/layers/core.py
Class Name: MaxoutDense
Method Name: __init__