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.3.tar.gz (111.9 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.3-py3-none-any.whl (127.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for reifier-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f9369874debdcae9b32e8825ec550d84289e791b4e1d9520581ce465f1a17b98
MD5 9afa17c5ea5e694ec3e6677a3f449172
BLAKE2b-256 60dbdd978f5bf5fe80e41afac9874f646d34689616d22d59367b7a7569bf6dfb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for reifier-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f0d4e12c01facf033106a089a4f4c8053f862c0db3eab1d256dad2e002d9503c
MD5 5e9d3d67430d61aa7314727649aca4e2
BLAKE2b-256 9b4af883f5e1f5d07336616f3030c2822f33337c4e0da0e840e929ae89770022

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