File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -487,6 +487,6 @@ def decode_predictions(preds, top=5):
487
487
A Keras model instance.
488
488
"""
489
489
490
- setattr (DenseNet121 , "__doc__" , (DenseNet121 .__doc__ or '' ) + DOC )
491
- setattr (DenseNet169 , "__doc__" , (DenseNet169 .__doc__ or '' ) + DOC )
492
- setattr (DenseNet201 , "__doc__" , (DenseNet201 .__doc__ or '' ) + DOC )
490
+ setattr (DenseNet121 , "__doc__" , (DenseNet121 .__doc__ or "" ) + DOC )
491
+ setattr (DenseNet169 , "__doc__" , (DenseNet169 .__doc__ or "" ) + DOC )
492
+ setattr (DenseNet201 , "__doc__" , (DenseNet201 .__doc__ or "" ) + DOC )
Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ def get_config(self):
148
148
)
149
149
return config
150
150
151
+
151
152
if Adam .__doc__ is not None :
152
153
Adam .__doc__ = Adam .__doc__ .replace (
153
154
"{{base_optimizer_keyword_args}}" , optimizer .base_optimizer_keyword_args
Original file line number Diff line number Diff line change @@ -233,6 +233,7 @@ def get_config(self):
233
233
)
234
234
return config
235
235
236
+
236
237
if Ftrl .__doc__ is not None :
237
238
Ftrl .__doc__ = Ftrl .__doc__ .replace (
238
239
"{{base_optimizer_keyword_args}}" , optimizer .base_optimizer_keyword_args
You can’t perform that action at this time.
0 commit comments