Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
1ee97350
Unverified
Commit
1ee97350
authored
Feb 25, 2019
by
SparkSnail
Committed by
GitHub
Feb 25, 2019
Browse files
Merge pull request #129 from Microsoft/master
Add different tuner config files for config_test (#760)
parents
754a354b
c94996c7
Changes
22
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tools/nni_annotation/testcase/annotated/mnist.py
tools/nni_annotation/testcase/annotated/mnist.py
+1
-1
tools/nni_annotation/testcase/usercode/mnist.py
tools/nni_annotation/testcase/usercode/mnist.py
+1
-1
No files found.
tools/nni_annotation/testcase/annotated/mnist.py
View file @
1ee97350
...
@@ -127,7 +127,7 @@ def bias_variable(shape):
...
@@ -127,7 +127,7 @@ def bias_variable(shape):
def
main
():
def
main
():
data_dir
=
'/tmp/tensorflow/mnist/input_data'
data_dir
=
'/tmp/tensorflow/mnist/input_data'
mnist
=
input_data
.
read_data_sets
(
data_dir
,
one_hot
=
True
)
mnist
=
input_data
.
read_data_sets
(
data_dir
,
one_hot
=
True
)
logger
.
debug
(
'Mnist download data do
w
n.'
)
logger
.
debug
(
'Mnist download data don
e
.'
)
mnist_network
=
MnistNetwork
()
mnist_network
=
MnistNetwork
()
mnist_network
.
build_network
()
mnist_network
.
build_network
()
logger
.
debug
(
'Mnist build network done.'
)
logger
.
debug
(
'Mnist build network done.'
)
...
...
tools/nni_annotation/testcase/usercode/mnist.py
View file @
1ee97350
...
@@ -137,7 +137,7 @@ def main():
...
@@ -137,7 +137,7 @@ def main():
# Import data
# Import data
data_dir
=
'/tmp/tensorflow/mnist/input_data'
data_dir
=
'/tmp/tensorflow/mnist/input_data'
mnist
=
input_data
.
read_data_sets
(
data_dir
,
one_hot
=
True
)
mnist
=
input_data
.
read_data_sets
(
data_dir
,
one_hot
=
True
)
logger
.
debug
(
'Mnist download data do
w
n.'
)
logger
.
debug
(
'Mnist download data don
e
.'
)
# Create the model
# Create the model
# Build the graph for the deep net
# Build the graph for the deep net
...
...
Prev
1
2
Next
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