Update model.py

This commit is contained in:
Pranjal Tandon
2019-01-02 22:24:04 +05:30
committed by GitHub
parent 717524b006
commit 0a7b9e51fb
+1 -1
View File
@@ -13,7 +13,7 @@ epsilon = 1e-6
def weights_init(m):
classname = m.__class__.__name__
if classname.find('Linear') != -1:
torch.nn.init.xavier_normal_(m.weight)
torch.nn.init.xavier_uniform_(m.weight)
class ValueNetwork(nn.Module):