537e5b549a9c4eeb3fe2776028b553ef36fadd88,rnns/fastrnns/test.py,,test_rnns,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,27
Before Change
experim_output = experim_outputs[0]
grad = torch.randn_like(control_output)
control_grads = torch.autograd.grad([control_output], control_params, grad)
experim_grads = torch.autograd.grad([experim_output], experim_params, grad)
assertEqual(experim_grads, control_grads)
if verbose:
print(experim_rnn.graph_for(*experim_inputs))
After Change
control_backward_inputs = control.backward_setup(control_outputs, seed)
experim_backward_inputs = experim.backward_setup(experim_outputs, seed)
control.backward(*control_backward_inputs)
experim.backward(*experim_backward_inputs)
control_grads = [p.grad for p in control.params]
experim_grads = [p.grad for p in experim.params]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: pytorch/benchmark
Commit Name: 537e5b549a9c4eeb3fe2776028b553ef36fadd88
Time: 2018-12-27
Author: zou3519@gmail.com
File Name: rnns/fastrnns/test.py
Class Name:
Method Name: test_rnns
Project Name: dpressel/mead-baseline
Commit Name: 3d9e51d5034e89bcec3a04eff3e646c70b45edb2
Time: 2017-03-16
Author: dpressel@gmail.com
File Name: classify/python/tf/train.py
Class Name: Trainer
Method Name: train
Project Name: HyperGAN/HyperGAN
Commit Name: d78a6f10ce5360c49d25166c4acb1e4ccb32734d
Time: 2020-02-07
Author: martyn@255bits.com
File Name: hypergan/trainers/alternating_trainer.py
Class Name: AlternatingTrainer
Method Name: _step