keras-io icon indicating copy to clipboard operation
keras-io copied to clipboard

Fix broken link and typos in functional_api.py

Open SuryanarayanaY opened this issue 2 years ago • 0 comments
trafficstars

In the functional_api guide the link for serialization & saving at lin no.189 is not working due to formatting issues.The link has been introduced with new space like below.

For details, read the model [serialization & saving](
    /guides/serialization_and_saving/) guide.

Same link at line no 816 works fine which is mentioned below.

See the [serialization & saving guide (/guides/serialization_and_saving/)

I believe the formatting(White spaces) in first case causing the link to fail.I think there is no need to mention complete URL here as it is auto generated which needs correct formatting.Correct me if I am wrong.

Also corrected typo in line no 816.

Where `training` is a boolean indicating whether the layer should behave
in training mode and inference mode.

to

Where `training` is a boolean indicating whether the layer should behave
in training mode or inference mode.

SuryanarayanaY avatar Aug 22 '23 09:08 SuryanarayanaY