Skip to content

Commit

Permalink
_
Browse files Browse the repository at this point in the history
  • Loading branch information
BigNoobWasTaken committed Jan 26, 2024
1 parent a70fca5 commit 4daf408
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ This library only using tensor that have only 1 bit per layer value. and only us

All arithmetic operators have been replaced with bitwise operator.

If yoy want read more, please go to
[docs](docs)

Build your own binary neural network models with this library.
6 changes: 3 additions & 3 deletions docs/1-bit/operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Currently we are using 4 of these bitwise operator to work with this one-bit mac
3. XOR
4. OR

## Convert from arthimetic to bitwise.
## Convert from arithmetic to bitwise.

Because this project is using one bit data type. We can convert from arthimetic operators to bitwise operators. Because bitwise operators are faster than arthimetic operators.
Because this project is using one bit data type. We can convert from arithmetic operators to bitwise operators. Because bitwise operators are faster than arithmetic operators.

| Arthimetic | Bitwise | Example | Converted |
| Arithmetic | Bitwise | Example | Converted |
|:-:|:-:|:-----:|:-----:|
| + | ^ | a + b | a ^ b |
| - | ^ | a - b | a ^ b |
Expand Down

0 comments on commit 4daf408

Please sign in to comment.