Skip to content

Commit

Permalink
add the KerasTuner missing docs (keras-team#1251)
Browse files Browse the repository at this point in the history
* add the kt missing docs

* fix the CI
  • Loading branch information
haifeng-jin authored Feb 23, 2023
1 parent 1aa374a commit b76b24e
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 3 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ RUN pip install -r requirements.txt

COPY ./ ./
WORKDIR scripts
RUN pip install git+https://github.com/keras-team/keras-nlp.git tensorflow --upgrade
RUN python autogen.py make

CMD ["python", "-u", "autogen.py", "serve"]
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pandas
jupyter
tensorflow~=2.11.0
tensorflow_datasets
keras-tuner==1.2.0
keras-tuner==1.3.0
keras-cv==0.4.1
keras-nlp==0.4.0
pycocotools
2 changes: 1 addition & 1 deletion scripts/autogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
GUIDES_GH_LOCATION = Path("keras-team") / "keras-io" / "blob" / "master" / "guides"
PROJECT_URL = {
"keras": "https://github.com/keras-team/keras/tree/v2.11.0/",
"keras_tuner": "https://github.com/keras-team/keras-tuner/tree/1.2.0/",
"keras_tuner": "https://github.com/keras-team/keras-tuner/tree/v1.3.0/",
"keras_cv": "https://github.com/keras-team/keras-cv/tree/v0.4.1/",
"keras_nlp": "https://github.com/keras-team/keras-nlp/tree/v0.4.0/",
}
Expand Down
42 changes: 42 additions & 0 deletions scripts/kt_api_master.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,27 @@
"keras_tuner.Oracle.update_trial",
],
},
{
"path": "synchronized",
"title": "@synchronized decorator",
"generate": [
"keras_tuner.synchronized",
],
},
{
"path": "random",
"title": "RandomSearch Oracle",
"generate": [
"keras_tuner.oracles.RandomSearchOracle",
],
},
{
"path": "grid",
"title": "GridSearch Oracle",
"generate": [
"keras_tuner.oracles.GridSearchOracle",
],
},
{
"path": "bayesian",
"title": "BayesianOptimization Oracle",
Expand Down Expand Up @@ -55,6 +69,20 @@
"keras_tuner.HyperModel.build",
],
},
{
"path": "hyper_efficientnet",
"title": "HyperEfficientNet",
"generate": [
"keras_tuner.applications.HyperEfficientNet",
],
},
{
"path": "hyper_image_augment",
"title": "HyperImageAugment",
"generate": [
"keras_tuner.applications.HyperImageAugment",
],
},
{
"path": "hyper_resnet",
"title": "HyperResNet",
Expand Down Expand Up @@ -98,13 +126,27 @@
"keras_tuner.Tuner.set_state",
],
},
{
"path": "objective",
"title": "Objective class",
"generate": [
"keras_tuner.Objective",
],
},
{
"path": "random",
"title": "RandomSearch Tuner",
"generate": [
"keras_tuner.RandomSearch",
],
},
{
"path": "grid",
"title": "GridSearch Tuner",
"generate": [
"keras_tuner.GridSearch",
],
},
{
"path": "bayesian",
"title": "BayesianOptimization Tuner",
Expand Down

0 comments on commit b76b24e

Please sign in to comment.