File size: 490 Bytes
0a8be94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
38
---
license: mit
tags:
- pytorch
- safetensors
- threshold-logic
- neuromorphic
---

# threshold-iszero8

8-bit zero detector. Outputs 1 if all 8 input bits are zero.

## Function

iszero8(b0..b7) = 1 if all bits are 0, else 0

Equivalent to 8-input NOR gate.

## Architecture

Single neuron: weights [-1, -1, -1, -1, -1, -1, -1, -1], bias 0

## Parameters

| | |
|---|---|
| Inputs | 8 |
| Outputs | 1 |
| Neurons | 1 |
| Layers | 1 |
| Parameters | 9 |
| Magnitude | 8 |

## License

MIT