File size: 423 Bytes
914cb8c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---

license: mit
tags:
- pytorch
- safetensors
- threshold-logic
- neuromorphic
- arithmetic
---


# threshold-sqrt

4-bit integer square root. Computes floor(√X).

## Truth Table

| X | √X |
|---|---|
| 0 | 0 |
| 1-3 | 1 |
| 4-8 | 2 |
| 9-15 | 3 |

## Parameters

| | |
|---|---|
| Inputs | 4 |
| Outputs | 2 |
| Neurons | 3 |
| Parameters | 15 |
| Magnitude | 48 |

## License

MIT