Skip to content

Commit

Permalink
add support for relu6 (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
iceflame89 authored and dgschwend committed Jul 5, 2018
1 parent fc06e1c commit 06756ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyzer.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ module.exports =
d.mem.activation = d.wOut*d.hOut*d.chOut*d.batchOut

#relu/dropout use some memory, do some comparisons
when "relu", "elu", "prelu", "dropout"
when "relu", "relu6", "elu", "prelu", "dropout"
#dimensions
d.wIn = parent.wOut
d.hIn = parent.hOut
Expand Down

0 comments on commit 06756ce

Please sign in to comment.