phanerozoic / threshold-isone8

huggingface.co
Total runs: 1
24-hour runs: 1
7-day runs: 1
30-day runs: 1
Model's Last Updated: January 24 2026

Introduction of threshold-isone8

Model Details of threshold-isone8

threshold-isone8

Check if 8-bit input equals 1 (binary 00000001).

Function

isone8(a7..a0) = 1 if input == 1, else 0

Where input = 128 a7 + 64 a6 + ... + 2*a1 + a0

Architecture

Single neuron pattern matcher for binary 00000001:

  • Weights: [-1, -1, -1, -1, -1, -1, -1, +1]
  • Bias: -1

Fires when all upper bits are 0 and LSB is 1.

Parameters
Inputs 8
Outputs 1
Neurons 1
Layers 1
Parameters 9
Magnitude 9
Usage
from safetensors.torch import load_file
import torch

w = load_file('model.safetensors')

def isone8(a7, a6, a5, a4, a3, a2, a1, a0):
    inp = torch.tensor([float(a7), float(a6), float(a5), float(a4),
                        float(a3), float(a2), float(a1), float(a0)])
    return int((inp @ w['neuron.weight'].T + w['neuron.bias'] >= 0).item())

print(isone8(0, 0, 0, 0, 0, 0, 0, 1))  # 1 (input = 1)
print(isone8(0, 0, 0, 0, 0, 0, 1, 0))  # 0 (input = 2)
License

MIT

Runs of phanerozoic threshold-isone8 on huggingface.co

1
Total runs
1
24-hour runs
1
3-day runs
1
7-day runs
1
30-day runs

More Information About threshold-isone8 huggingface.co Model

More threshold-isone8 license Visit here:

https://choosealicense.com/licenses/mit

threshold-isone8 huggingface.co

threshold-isone8 huggingface.co is an AI model on huggingface.co that provides threshold-isone8's model effect (), which can be used instantly with this phanerozoic threshold-isone8 model. huggingface.co supports a free trial of the threshold-isone8 model, and also provides paid use of the threshold-isone8. Support call threshold-isone8 model through api, including Node.js, Python, http.

phanerozoic threshold-isone8 online free

threshold-isone8 huggingface.co is an online trial and call api platform, which integrates threshold-isone8's modeling effects, including api services, and provides a free online trial of threshold-isone8, you can try threshold-isone8 online for free by clicking the link below.

phanerozoic threshold-isone8 online free url in huggingface.co:

https://huggingface.co/phanerozoic/threshold-isone8

threshold-isone8 install

threshold-isone8 is an open source model from GitHub that offers a free installation service, and any user can find threshold-isone8 on GitHub to install. At the same time, huggingface.co provides the effect of threshold-isone8 install, users can directly use threshold-isone8 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

threshold-isone8 install url in huggingface.co:

https://huggingface.co/phanerozoic/threshold-isone8

Url of threshold-isone8

threshold-isone8 huggingface.co Url

Provider of threshold-isone8 huggingface.co

phanerozoic
ORGANIZATIONS

Other API from phanerozoic

huggingface.co

Total runs: 1.3K
Run Growth: 1.3K
Growth Rate: 100.00%
Updated:April 28 2026