Skip to content

Commit

Permalink
added return statement to mlp_
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaKapoor74 committed Sep 3, 2020
1 parent 5067e42 commit 6f0563e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions genrl/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ def mlp_(
layers += [nn.Linear(sizes[layer], sizes[layer + 1]), act]
weight_init(layers[-1][0].weight)

return nn.Sequential(*layers)


def shared_mlp(
network1_prev,
Expand Down

0 comments on commit 6f0563e

Please sign in to comment.