Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
c0ae913e
Commit
c0ae913e
authored
Jun 21, 2018
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a missing output in dorefa (fix #800)
parent
69465fc7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
examples/DoReFa-Net/alexnet-dorefa.py
examples/DoReFa-Net/alexnet-dorefa.py
+1
-0
No files found.
examples/DoReFa-Net/alexnet-dorefa.py
View file @
c0ae913e
...
@@ -128,6 +128,7 @@ class Model(ImageNetModel):
...
@@ -128,6 +128,7 @@ class Model(ImageNetModel):
.
apply
(
nonlin
)
.
apply
(
nonlin
)
.
FullyConnected
(
'fct'
,
1000
,
use_bias
=
True
)())
.
FullyConnected
(
'fct'
,
1000
,
use_bias
=
True
)())
add_param_summary
((
'.*/W'
,
[
'histogram'
,
'rms'
]))
add_param_summary
((
'.*/W'
,
[
'histogram'
,
'rms'
]))
tf
.
nn
.
softmax
(
logits
,
name
=
'output'
)
# for prediction
return
logits
return
logits
def
optimizer
(
self
):
def
optimizer
(
self
):
...
...
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