From 1656006c051483625179ec474ddac476d28d5365 Mon Sep 17 00:00:00 2001 From: farizrahman4u Date: Sun, 19 Mar 2017 09:32:37 +0530 Subject: [PATCH] typo fix --- tests/keras_contrib/layers/test_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/keras_contrib/layers/test_core.py b/tests/keras_contrib/layers/test_core.py index 4ef20bd..ffeb52c 100644 --- a/tests/keras_contrib/layers/test_core.py +++ b/tests/keras_contrib/layers/test_core.py @@ -34,7 +34,7 @@ def test_cosinedense(): kwargs={'units': 3, 'kernel_regularizer': regularizers.l2(0.01), 'bias_regularizer': regularizers.l1(0.01), - 'regularizer': regularizers.l2(0.01), + 'activity_regularizer': regularizers.l2(0.01), 'kernel_constraint': constraints.MaxNorm(1), 'bias_constraint': constraints.MaxNorm(1)}, input_shape=(3, 2))