Skip to content

Commit

Permalink
fixed mlp
Browse files Browse the repository at this point in the history
  • Loading branch information
ShomyLiu authored Jul 21, 2021
1 parent 29fa183 commit a119c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@ def init_weight(self):
nn.init.uniform_(self.fc.bias, a=0, b=0.2)

def forward(self, feature, *args, **kwargs):
return F.relu(self.fc(feature)[0])
return F.relu(self.fc(feature))

0 comments on commit a119c1e

Please sign in to comment.