Skip to content

[#20144] updated documentation for DenseNet, Xception, and ResNet #20223

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion keras/src/applications/densenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def DenseNet(
be applied.
classes: optional number of classes to classify images
into, only to be specified if `include_top` is `True`, and
if no `weights` argument is specified.
if no `weights` argument is specified. Defaults to `1000`.
classifier_activation: A `str` or callable.
The activation function to use
on the "top" layer. Ignored unless `include_top=True`. Set
Expand Down
2 changes: 1 addition & 1 deletion keras/src/applications/resnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ def decode_predictions(preds, top=5):
- `max` means that global max pooling will be applied.
classes: optional number of classes to classify images into, only to be
specified if `include_top` is `True`, and if no `weights` argument is
specified.
specified. Defaults to `1000`.
classifier_activation: A `str` or callable. The activation function to
use on the "top" layer. Ignored unless `include_top=True`. Set
`classifier_activation=None` to return the logits of the "top" layer.
Expand Down
2 changes: 1 addition & 1 deletion keras/src/applications/xception.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def Xception(
be applied.
classes: optional number of classes to classify images
into, only to be specified if `include_top` is `True`, and
if no `weights` argument is specified.
if no `weights` argument is specified. Defaults to `1000`.
classifier_activation: A `str` or callable. The activation function to
use on the "top" layer. Ignored unless `include_top=True`. Set
`classifier_activation=None` to return the logits of the "top"
Expand Down
Loading