b9b54d4f30ff65cf1c54dc0cf90c938b48c44f90,reagent/training/qrdqn_trainer.py,QRDQNTrainer,train,#QRDQNTrainer#Any#,144
Before Change
target_Q = rewards + discount_tensor * not_done_mask * next_qf
with torch.enable_grad():
current_qf = self.q_network.dist(state).q_values
// for reporting only
all_q_values = current_qf.mean(dim=2).detach()
After Change
target_Q = rewards + discount_tensor * not_done_mask * next_qf
with torch.enable_grad():
current_qf = self.q_network.dist(state)
// for reporting only
all_q_values = current_qf.mean(2).detach()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: facebookresearch/Horizon
Commit Name: b9b54d4f30ff65cf1c54dc0cf90c938b48c44f90
Time: 2020-04-28
Author: kittipat@fb.com
File Name: reagent/training/qrdqn_trainer.py
Class Name: QRDQNTrainer
Method Name: train
Project Name: facebookresearch/ParlAI
Commit Name: d01eaf37af767cc859401d1f678307087f06c61a
Time: 2018-06-19
Author: kshuster@fb.com
File Name: parlai/agents/mlb_vqa/dropout.py
Class Name:
Method Name:
Project Name: geomstats/geomstats
Commit Name: f968d7bec6552b6986731a4dfbb0a524d01a29a2
Time: 2020-01-16
Author: thomas.l.p.gerald@gmail.com
File Name: geomstats/learning/k_means.py
Class Name: RiemannianKMeans
Method Name: fit