d5f2d328e36e001ce1ba1fb720eaff2e6839e4e2,chainer/links/rnn/n_step_rnn.py,NStepRNNBase,__init__,#NStepRNNBase#Any#Any#Any#Any#,53
Before Change
"Use chainer.using_config",
use_bi_direction="use_bi_direction is not supported anymore",
activation="activation is not supported anymore")
argument.assert_kwargs_empty(kwargs)
weights = []
if self.use_bi_direction:
direction = 2
After Change
def __init__(self, n_layers, in_size, out_size, dropout, **kwargs):
initialW, initial_bias = argument.parse_kwargs(
kwargs,
("initialW", None),
("initiali_bias", None),
use_cudnn="use_cudnn argument is not supported anymore. "
"Use chainer.using_config",
use_bi_direction="use_bi_direction is not supported anymore",
activation="activation is not supported anymore",
)
weights = []
if self.use_bi_direction:
direction = 2
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: chainer/chainer
Commit Name: d5f2d328e36e001ce1ba1fb720eaff2e6839e4e2
Time: 2019-11-29
Author: unnonouno@gmail.com
File Name: chainer/links/rnn/n_step_rnn.py
Class Name: NStepRNNBase
Method Name: __init__
Project Name: facebookresearch/ParlAI
Commit Name: 21b74e0a0d37820cbe9a504b4ab8b458b62d1cbc
Time: 2020-06-09
Author: roller@fb.com
File Name: tests/nightly/gpu/test_controllable.py
Class Name: TestControllableDialogue
Method Name: test_dataset_integrity
Project Name: facebookresearch/ParlAI
Commit Name: 21b74e0a0d37820cbe9a504b4ab8b458b62d1cbc
Time: 2020-06-09
Author: roller@fb.com
File Name: tests/nightly/gpu/test_self_feeding.py
Class Name: TestSelffeeding
Method Name: test_dataset_integrity