Skip to main content

Shared neural-net primitives (Dense, backends, engine binding) for the mantissa C engine

Project description

mantissa-nn

License Python Engine

The shared neural-net base for the mantissa family.

mantissa-nn holds the primitives every other package in the family reuses, so that the specialized packages depend on this base rather than on each other:

  • the C-engine binding (mantissa_nn._engine.engine) — loads mantissa once and gates on the dense primitive every model needs;
  • the pure-numpy reference backend (mantissa_nn._numpy_backend) — the identical call signatures in numpy, the correctness oracle;
  • the fully-connected layers Dense / Flatten and the Layer contract (mantissa_nn.layers).

Datasets are deliberately not here — each package owns and downloads its own, so they stay independent.

Built on top of it:

package adds
mantissa-cnn convolution + pooling layers, a CNN model zoo
mantissa-mlp the tabular training loop + tabular datasets
mantissa-autoencoder encoder/decoder model + decoder layers
from mantissa_nn import layers
from mantissa_nn._engine import engine     # the shared mantissa.Mantissa

The default compute path is the mantissa C engine (>= 0.2.1); backend="numpy" in the model packages selects the pure-numpy reference implementation.

Install

pip install mantissa-nn

For the development layout, clone the family repos as siblings and pip install -e . — a sibling mantissa/ checkout is picked up automatically when mantissa-core is not installed.

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

mantissa_nn-0.1.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

mantissa_nn-0.1.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file mantissa_nn-0.1.0.tar.gz.

File metadata

  • Download URL: mantissa_nn-0.1.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mantissa_nn-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c864d613098a67d0739627c17ba4e1b8c6c978980cc43cb6e932f32e6d022c16
MD5 50da5df0534ba2d18d4ade738f6660ba
BLAKE2b-256 319d8260c7feb72ac8566fc90a24ffdd437f196c59ac4e3537179a3e54d7f4bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for mantissa_nn-0.1.0.tar.gz:

Publisher: release.yml on tekinertekin/mantissa-nn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mantissa_nn-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mantissa_nn-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mantissa_nn-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c8eca5682135aa25fa7f4e901936a218fc5492e266b80ac2bfc1502f25f9a75
MD5 63f236e87abcfeba287ba54a24133c13
BLAKE2b-256 edd3b330d447c8a504d6545903cb6185feb74303f080654bc7cae6d43d10525d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mantissa_nn-0.1.0-py3-none-any.whl:

Publisher: release.yml on tekinertekin/mantissa-nn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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