We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7ca0e5 commit ad24fa7Copy full SHA for ad24fa7
chebai/models/ffn.py
@@ -25,7 +25,7 @@ def __init__(
25
current_layer_input_size = input_size
26
for hidden_dim in hidden_layers:
27
layers.append(MLPBlock(current_layer_input_size, hidden_dim))
28
- layers.append(Residual(MLPBlock(current_layer_input_size, hidden_dim)))
+ layers.append(Residual(MLPBlock(hidden_dim, hidden_dim)))
29
current_layer_input_size = hidden_dim
30
31
layers.append(torch.nn.Linear(current_layer_input_size, self.out_dim))
0 commit comments