59565bb8a0759cf2fc2c264c59e1ee29daff5fe3,models/mlp_critic.py,Value,forward,#Value#Any#,15
Before Change
self.value_head.bias.data.mul_(0.0)
def forward(self, x):
x = F.tanh(self.affine1(x))
x = F.tanh(self.affine2(x))
value = self.value_head(x)
return value
After Change
self.value_head.weight.data.mul_(0.1)
self.value_head.bias.data.mul_(0.0)
def forward(self, x):
for affine in self.affine_layers:
x = self.activation(affine(x))
value = self.value_head(x)
return value
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 14
Instances
Project Name: lcswillems/torch-rl
Commit Name: 59565bb8a0759cf2fc2c264c59e1ee29daff5fe3
Time: 2017-10-23
Author: khrylx@gmail.com
File Name: models/mlp_critic.py
Class Name: Value
Method Name: forward
Project Name: lcswillems/torch-rl
Commit Name: 59565bb8a0759cf2fc2c264c59e1ee29daff5fe3
Time: 2017-10-23
Author: khrylx@gmail.com
File Name: models/mlp_discriminator.py
Class Name: Discriminator
Method Name: forward
Project Name: lcswillems/torch-rl
Commit Name: 59565bb8a0759cf2fc2c264c59e1ee29daff5fe3
Time: 2017-10-23
Author: khrylx@gmail.com
File Name: models/mlp_policy.py
Class Name: Policy
Method Name: forward