785fc04bc21e0795c38599e914441fbea5f35724,chainer/functions/rnn/slstm.py,SLSTMGrad,backward,#SLSTMGrad#Any#Any#,215
Before Change
if gc is None:
gc = xp.zeros_like(c)
if gh is None:
gh = xp.zeros_like(c)
if ggc_prev1 is None:
ggc_prev1 = xp.zeros_like(c_prev1)
if ggc_prev2 is None:
ggc_prev2 = xp.zeros_like(c_prev2)
After Change
gc_is_none = gc is None
gh_is_none = gh is None
if gc_is_none:
gc = 0
if gh_is_none:
gh = 0
if ggc_prev1 is None:
ggc_prev1 = 0
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances Project Name: chainer/chainer
Commit Name: 785fc04bc21e0795c38599e914441fbea5f35724
Time: 2019-08-08
Author: hiroyuki.vincent.yamazaki@gmail.com
File Name: chainer/functions/rnn/slstm.py
Class Name: SLSTMGrad
Method Name: backward
Project Name: chainer/chainer
Commit Name: 1e128aa0ee1bf41b7b8970ea0177b627585a72a8
Time: 2019-08-08
Author: hiroyuki.vincent.yamazaki@gmail.com
File Name: chainer/functions/rnn/lstm.py
Class Name: LSTMGrad
Method Name: backward
Project Name: RasaHQ/rasa
Commit Name: d4a2f656470e3190f8e877139455abcff1ad7cdb
Time: 2018-09-28
Author: mr.voov@gmail.com
File Name: rasa_core/policies/tf_utils.py
Class Name: TimedNTM
Method Name: __call__
Project Name: jakeret/tf_unet
Commit Name: ce2ff4b47c40fbb29ed297965a8ec607d59b116d
Time: 2017-09-21
Author: joel.akeret@gmail.com
File Name: tf_unet/unet.py
Class Name: Trainer
Method Name: train