We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5d6234 commit faa844aCopy full SHA for faa844a
1 file changed
scale_rl/agents/simba/simba_network.py
@@ -23,8 +23,9 @@ def setup(self):
23
)
24
self.encoder = nn.Sequential(
25
[
26
- PreLNResidualBlock(hidden_dim=self.hidden_dim)
27
- for _ in range(self.num_blocks)
+ *[PreLNResidualBlock(hidden_dim=self.hidden_dim)
+ for _ in range(self.num_blocks)],
28
+ nn.LayerNorm(),
29
]
30
31
self.predictor = NormalTanhPolicy(self.action_dim)
@@ -51,8 +52,9 @@ def setup(self):
51
52
53
54
55
56
57
58
59
60
self.predictor = LinearCritic()
0 commit comments