Skip to content

Commit 5cec15e

Browse files
committed
fix double sigmoid issue in mlp
1 parent 06a1869 commit 5cec15e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

chebai/models/ffn.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ def __init__(
2626
current_layer_input_size = hidden_dim
2727

2828
layers.append(torch.nn.Linear(current_layer_input_size, self.out_dim))
29-
layers.append(nn.Sigmoid())
3029
self.model = nn.Sequential(*layers)
3130

3231
def _get_prediction_and_labels(self, data, labels, model_output):

0 commit comments

Comments
 (0)