threshold-iszero8 / README.md
CharlesCNorton
8-bit zero detector, magnitude 8
0a8be94
metadata
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