File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5013,7 +5013,7 @@ def test_sequential_model_output(self):
5013
5013
ValueError ,
5014
5014
"has a single unit output, but the activation is softmax.*" ,
5015
5015
):
5016
- model .compile ()
5016
+ model .compile (loss = "mse" , optimizer = "sgd" )
5017
5017
del model
5018
5018
5019
5019
def test_functional_model_output (self ):
@@ -5025,7 +5025,7 @@ def test_functional_model_output(self):
5025
5025
ValueError ,
5026
5026
"has a single unit output, but the activation is softmax.*" ,
5027
5027
):
5028
- model .compile ()
5028
+ model .compile (loss = "mse" , optimizer = "sgd" )
5029
5029
del model
5030
5030
5031
5031
def test_multi_output_model (self ):
@@ -5038,7 +5038,7 @@ def test_multi_output_model(self):
5038
5038
ValueError ,
5039
5039
"has a single unit output, but the activation is softmax.*" ,
5040
5040
):
5041
- model .compile ()
5041
+ model .compile (loss = "mse" , optimizer = "sgd" )
5042
5042
del model
5043
5043
5044
5044
def test_multi_input_output_model (self ):
@@ -5054,7 +5054,7 @@ def test_multi_input_output_model(self):
5054
5054
ValueError ,
5055
5055
"has a single unit output, but the activation is softmax.*" ,
5056
5056
):
5057
- model .compile ()
5057
+ model .compile (loss = "mse" , optimizer = "sgd" )
5058
5058
del model
5059
5059
5060
5060
You can’t perform that action at this time.
0 commit comments