c1573cd7fc7aad87326c914c6e104cefcb6a8dbb,chainer/initializers/normal.py,Normal,__init__,#Normal#Any#Any#Any#,25
Before Change
def __init__(self, scale=0.05, dtype=None, rng=None):
self.scale = scale
if rng is None:
self.rng = numpy.random.RandomState()
else:
self.rng = rng
super(Normal, self).__init__(dtype)
def __call__(self, array):
if self.dtype is not None:
After Change
self.scale = scale
self.fan_option = fan_option
rng = None
if kwargs:
rng, = argument.parse_kwargs(kwargs, ("rng", rng))
self.rng = rng
super(HeNormal, self).__init__(dtype)
def __call__(self, array):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: chainer/chainer
Commit Name: c1573cd7fc7aad87326c914c6e104cefcb6a8dbb
Time: 2019-09-07
Author: nc.jky0@gmail.com
File Name: chainer/initializers/normal.py
Class Name: Normal
Method Name: __init__
Project Name: chainer/chainer
Commit Name: 488f5cc21c564bf017994d63a782c19b2c759bb1
Time: 2019-09-06
Author: nc.jky0@gmail.com
File Name: chainer/initializers/normal.py
Class Name: Normal
Method Name: __init__
Project Name: chainer/chainer
Commit Name: 488f5cc21c564bf017994d63a782c19b2c759bb1
Time: 2019-09-06
Author: nc.jky0@gmail.com
File Name: chainer/initializers/uniform.py
Class Name: Uniform
Method Name: __init__