Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerhardsa0 committed Jul 15, 2024
1 parent b7ac39a commit 12577f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/safeds/ml/nn/layers/test_forward_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def test_should_set_activation_function(activation_function: str, expected_activ
elif activation_function == "none":
forward_layer = ForwardLayer(neuron_count=1, overwrite_activation_function="none")
else:
forward_layer: ForwardLayer|None = None
forward_layer = None
forward_layer._input_size = 1
internal_layer = forward_layer._get_internal_layer(
activation_function="relu",
Expand Down

0 comments on commit 12577f3

Please sign in to comment.