a981a8c42c316831183cac7598266d577a1ea96a,keras/layers/core.py,MaxoutDense,call,#MaxoutDense#Any#Any#,799
Before Change
def call(self, x, mask=None):
// no activation, this layer is only linear.
output = K.max(K.dot(x, self.W) + self.b, axis=1)
return output
def get_config(self):
config = {"output_dim": self.output_dim,
After Change
def call(self, x, mask=None):
// no activation, this layer is only linear.
output = K.dot(x, self.W)
if self.bias:
output += self.b
output = K.max(output, axis=1)
return output
def get_config(self):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: keras-team/keras
Commit Name: a981a8c42c316831183cac7598266d577a1ea96a
Time: 2016-04-29
Author: francois.chollet@gmail.com
File Name: keras/layers/core.py
Class Name: MaxoutDense
Method Name: call
Project Name: NervanaSystems/coach
Commit Name: e3c7e526c78e2cc039621ef58cf062cce3a65697
Time: 2019-03-19
Author: gal.leibovich@intel.com
File Name: rl_coach/graph_managers/graph_manager.py
Class Name: GraphManager
Method Name: act
Project Name: OpenNMT/OpenNMT-py
Commit Name: d5a75ba09ae0595ca284fd806475eb8d3f771387
Time: 2017-01-17
Author: adam.paszke@gmail.com
File Name: word_language_model/generate.py
Class Name:
Method Name:
Project Name: NifTK/NiftyNet
Commit Name: 8a5eb9a32b96ee67fc8af1813ceb7cbc02f0b4a7
Time: 2018-05-08
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/sampler_random_vector.py
Class Name: RandomVectorSampler
Method Name: __init__