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
31dc58e9
"src/vscode:/vscode.git/clone" did not exist on "06db4729b00bd2d6f5582fe8528014ffe106953a"
Commit
31dc58e9
authored
May 20, 2019
by
demianzhang
Committed by
QuanluZhang
May 20, 2019
Browse files
fix example error (#1088)
parent
f8ba4017
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
examples/trials/mnist-cascading-search-space/mnist.py
examples/trials/mnist-cascading-search-space/mnist.py
+2
-1
No files found.
examples/trials/mnist-cascading-search-space/mnist.py
View file @
31dc58e9
...
...
@@ -7,6 +7,7 @@ import logging
import
math
import
tempfile
import
time
import
argparse
import
tensorflow
as
tf
from
tensorflow.examples.tutorials.mnist
import
input_data
...
...
@@ -20,7 +21,7 @@ class MnistNetwork(object):
def
__init__
(
self
,
params
,
feature_size
=
784
):
config
=
[]
for
i
in
range
(
10
):
for
i
in
range
(
4
):
config
.
append
(
params
[
'layer'
+
str
(
i
)])
self
.
config
=
config
self
.
feature_size
=
feature_size
...
...
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