Skip to main content

Neural network compilation

Project description

Reifier

Compile algorithms into neural network circuits.

Installation:

uv pip install reifier

See a demo Google Colab notebook here.

Circuit visualization:

Interactive visualization here

Simple example calculating xor of 5 bits:

from reifier.neurons.core import const
from reifier.neurons.operations import xor
from reifier.utils.format import Bits

inputs = const('01101')
output = xor(inputs)
print(f"{Bits(inputs)} -> {Bits(output)}")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reifier-0.0.2.tar.gz (99.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reifier-0.0.2-py3-none-any.whl (108.3 kB view details)

Uploaded Python 3

File details

Details for the file reifier-0.0.2.tar.gz.

File metadata

  • Download URL: reifier-0.0.2.tar.gz
  • Upload date:
  • Size: 99.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for reifier-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e0489537000d6b45e055299f7d211283414e0aaa6c51aecaa9229a616e907fcd
MD5 dc0f9335438fb80535f1ea6101cc9d1e
BLAKE2b-256 b7f08f5fc85319438e65321ba3727043f6b2a2f677036bdb3053c2c0a4d20631

See more details on using hashes here.

File details

Details for the file reifier-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: reifier-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 108.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for reifier-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba040fad3dafcde8f17d8d55d8187169da80f9cf711ff3bec2b93c910f8bcd82
MD5 689a70a069c69faf40b263696a028361
BLAKE2b-256 68ca68ea53c905865a9173c33c9820e850584ecae0d149a9a81efa6d92e26ded

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page