Skip to content

Commit

Permalink
Update bconv_CN.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoisonooo authored May 18, 2019
1 parent 50dcb6c commit 701eacd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/bconv_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@

注意此处转换时,使用的公式是:
```
bin_val = 0 if float_val > 0.0f else 1
bin_val = 1 if float_val > 0.0f else 0
```
数值反过来,是为了后续方便实现。原本是`xnor`操作,调整输入后即为`xor`操作,某些步骤不需要再取反。


卷积实现有很多种办法,dabnn在项目早期提供了两种优化实现。
Expand Down

0 comments on commit 701eacd

Please sign in to comment.