8e23a3ec47a2ccbf6cdd222a80886c6b9f17264f,keras/initializers.py,VarianceScaling,__call__,#VarianceScaling#Any#Any#,201
Before Change
dtype=dtype, seed=self.seed)
else:
limit = np.sqrt(3. * scale)
return K.random_uniform(shape, -limit, limit,
dtype=dtype, seed=self.seed)
def get_config(self):
return {
"scale": self.scale,
After Change
dtype=dtype, seed=self.seed)
else:
limit = np.sqrt(3. * scale)
x = K.random_uniform(shape, -limit, limit,
dtype=dtype, seed=self.seed)
if self.seed is not None:
self.seed += 1
return x
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: keras-team/keras
Commit Name: 8e23a3ec47a2ccbf6cdd222a80886c6b9f17264f
Time: 2019-03-21
Author: francois.chollet@gmail.com
File Name: keras/initializers.py
Class Name: VarianceScaling
Method Name: __call__
Project Name: keras-team/keras
Commit Name: 8e23a3ec47a2ccbf6cdd222a80886c6b9f17264f
Time: 2019-03-21
Author: francois.chollet@gmail.com
File Name: keras/initializers.py
Class Name: RandomUniform
Method Name: __call__
Project Name: NifTK/NiftyNet
Commit Name: a8812b2034cfa8517c5b4911aa4333f0e34a8b6f
Time: 2018-01-09
Author: rmaplue@ucl.ac.uk
File Name: niftynet/network/dense_vnet.py
Class Name: Affine3DAugmentationLayer
Method Name: random_transform
Project Name: asyml/texar
Commit Name: a598bab314fcd5352f70597d3bb8506c47254cc5
Time: 2018-03-17
Author: zhitinghu@gmail.com
File Name: texar/modules/decoders/rnn_decoders_test.py
Class Name: BasicRNNDecoderTest
Method Name: setUp
Project Name: asyml/texar
Commit Name: a598bab314fcd5352f70597d3bb8506c47254cc5
Time: 2018-03-17
Author: zhitinghu@gmail.com
File Name: texar/modules/decoders/rnn_decoders_test.py
Class Name: AttentionRNNDecoderTest
Method Name: setUp