Skip to content

Commit

Permalink
Fix activation function in dpsgd conv model test.
Browse files Browse the repository at this point in the history
  • Loading branch information
james-choncholas committed Oct 28, 2024
1 parent d2dc4ac commit 521333e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tf_shell_ml/test/dpsgd_conv_model_local_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def _test_model(self, disable_encryption, disable_masking, disable_noise, cache)
tf_shell_ml.Flatten(),
tf_shell_ml.ShellDense(
16,
activation=tf.nn.softmax,
activation=tf_shell_ml.relu,
activation_deriv=tf_shell_ml.relu_deriv,
),
tf_shell_ml.ShellDense(
10,
Expand Down

0 comments on commit 521333e

Please sign in to comment.