80af54aaf660f06a9c1c83eb803abf1ddca9119a,main.py,,main,#,577
Before Change
mixture_li = [np.pad(x, [(0, max_len - len(x)), (0,0)], mode="constant") for x in mixture[0]]
mixture = np.stack(mixture_li)
mixture = np.sum(mixture, axis=0)
data_pt = (np.expand_dims(mixture, 0),)
result = g_sess.run(
g_model.debug_fetches,
dict(zip(
After Change
data_pt + (hparams.DROPOUT_KEEP_PROB,))))
debug_data["input"] = input_
scipy.io.savemat("debug/debug_data.mat", debug_data)
print("Debug data written to debug/debug_data.mat")
else:
raise ValueError(
"Unknown mode "%s"" % g_args.mode)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: khaotik/DaNet-Tensorflow
Commit Name: 80af54aaf660f06a9c1c83eb803abf1ddca9119a
Time: 2017-08-11
Author: junkkhaotik@gmail.com
File Name: main.py
Class Name:
Method Name: main
Project Name: chainer/chainerrl
Commit Name: 41304b258afa59f0cc47b96dbe1af9e75b2c90e3
Time: 2016-05-04
Author: muupan@gmail.com
File Name: tests/test_dqn_head.py
Class Name: _TestDQNHead
Method Name: test_policy
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: f8420645696d8834aeb1b8db9820353a3c97cd9e
Time: 2017-07-12
Author: valentina.zantedeschi@ibm.com
File Name: src/attackers/universal_perturbation.py
Class Name: UniversalPerturbation
Method Name: generate
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 79ee6153cee9c16191e3d6ad4be54a8205ed5ed0
Time: 2017-07-12
Author: valentina.zantedeschi@ibm.com
File Name: src/attackers/universal_perturbation.py
Class Name: UniversalPerturbation
Method Name: generate