Skip to content

Commit

Permalink
API templates touch ups
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Apr 22, 2024
1 parent 633bb2c commit 399d5ac
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion scripts/autogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
GUIDES_GH_LOCATION = Path("keras-team") / "keras-io" / "blob" / "master" / "guides"
KERAS_TEAM_GH = "https://github.com/keras-team"
PROJECT_URL = {
"keras": f"{KERAS_TEAM_GH}/keras/tree/v3.2.1/",
"keras": f"{KERAS_TEAM_GH}/keras/tree/v3.3.0/",
"keras_tuner": f"{KERAS_TEAM_GH}/keras-tuner/tree/v1.4.7/",
"keras_cv": f"{KERAS_TEAM_GH}/keras-cv/tree/v0.8.2/",
"keras_nlp": f"{KERAS_TEAM_GH}/keras-nlp/tree/v0.9.3/",
Expand Down
11 changes: 6 additions & 5 deletions templates/api/callbacks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ You can use callbacks to:

---

## Available callbacks

{{toc}}

---

## Usage of callbacks via the built-in `fit()` loop

You can pass a list of callbacks (as the keyword argument `callbacks`) to the `.fit()` method of a model:
Expand All @@ -37,8 +43,3 @@ Learn more about creating new callbacks in the guide
[Writing your own Callbacks](/guides/writing_your_own_callbacks), and refer to
the documentation for [the base `Callback` class](base_callback).

---

## Available callbacks

{{toc}}
13 changes: 6 additions & 7 deletions templates/api/optimizers/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Optimizers

## Available optimizers

{{toc}}

---

## Usage with `compile()` & `fit()`

An optimizer is one of the two arguments required for compiling a Keras model:
Expand Down Expand Up @@ -42,13 +48,6 @@ optimizer = keras.optimizers.SGD(learning_rate=lr_schedule)

Check out [the learning rate schedule API documentation](/api/optimizers/learning_rate_schedules) for a list of available schedules.


---

## Available optimizers

{{toc}}

---

## Core Optimizer API
Expand Down

0 comments on commit 399d5ac

Please sign in to comment.