Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
2ca227f8
Unverified
Commit
2ca227f8
authored
May 10, 2021
by
Yuge Zhang
Committed by
GitHub
May 10, 2021
Browse files
Support sphinx v4 (#3622)
parent
78d37a3e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
8 deletions
+6
-8
docs/en_US/builtin_tuner.rst
docs/en_US/builtin_tuner.rst
+1
-3
docs/en_US/conf.py
docs/en_US/conf.py
+1
-1
docs/requirements.txt
docs/requirements.txt
+1
-1
nni/algorithms/hpo/networkmorphism_tuner/networkmorphism_tuner.py
...rithms/hpo/networkmorphism_tuner/networkmorphism_tuner.py
+3
-3
No files found.
docs/en_US/builtin_tuner.rst
View file @
2ca227f8
...
@@ -10,9 +10,7 @@ Tuner receives metrics from `Trial` to evaluate the performance of a specific pa
...
@@ -10,9 +10,7 @@ Tuner receives metrics from `Trial` to evaluate the performance of a specific pa
:maxdepth: 1
:maxdepth: 1
Overview <Tuner/BuiltinTuner>
Overview <Tuner/BuiltinTuner>
TPE <Tuner/HyperoptTuner>
TPE / Random Search / Anneal <Tuner/HyperoptTuner>
Random Search <Tuner/HyperoptTuner>
Anneal <Tuner/HyperoptTuner>
Naive Evolution <Tuner/EvolutionTuner>
Naive Evolution <Tuner/EvolutionTuner>
SMAC <Tuner/SmacTuner>
SMAC <Tuner/SmacTuner>
Metis Tuner <Tuner/MetisTuner>
Metis Tuner <Tuner/MetisTuner>
...
...
docs/en_US/conf.py
View file @
2ca227f8
...
@@ -201,4 +201,4 @@ extlinks = {
...
@@ -201,4 +201,4 @@ extlinks = {
# -- Extension configuration -------------------------------------------------
# -- Extension configuration -------------------------------------------------
def
setup
(
app
):
def
setup
(
app
):
app
.
add_
stylesheet
(
'css/custom.css'
)
app
.
add_
css_file
(
'css/custom.css'
)
docs/requirements.txt
View file @
2ca227f8
sphinx>=
3.3.1
sphinx>=
4.0
sphinx-argparse
sphinx-argparse
sphinx-rtd-theme
sphinx-rtd-theme
sphinxcontrib-websupport
sphinxcontrib-websupport
...
...
nni/algorithms/hpo/networkmorphism_tuner/networkmorphism_tuner.py
View file @
2ca227f8
...
@@ -225,7 +225,7 @@ class NetworkMorphismTuner(Tuner):
...
@@ -225,7 +225,7 @@ class NetworkMorphismTuner(Tuner):
----------
----------
other_info: any object
other_info: any object
In our case it is the father ID in the search tree.
In our case it is the father ID in the search tree.
graph: Graph
graph:
graph.
Graph
An instance of Graph. The trained neural architecture.
An instance of Graph. The trained neural architecture.
metric_value: float
metric_value: float
The final evaluated metric value.
The final evaluated metric value.
...
@@ -284,7 +284,7 @@ class NetworkMorphismTuner(Tuner):
...
@@ -284,7 +284,7 @@ class NetworkMorphismTuner(Tuner):
Returns
Returns
-------
-------
load_model : Graph
load_model :
graph.
Graph
the model graph representation
the model graph representation
"""
"""
...
@@ -300,7 +300,7 @@ class NetworkMorphismTuner(Tuner):
...
@@ -300,7 +300,7 @@ class NetworkMorphismTuner(Tuner):
Returns
Returns
-------
-------
load_model : Graph
load_model :
graph.
Graph
the model graph representation
the model graph representation
"""
"""
return
self
.
load_model_by_id
(
self
.
get_best_model_id
())
return
self
.
load_model_by_id
(
self
.
get_best_model_id
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment