Shared neural-net primitives (Dense, backends, engine binding) for the mantissa C engine
Project description
mantissa-nn
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/Flattenand theLayercontract (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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c864d613098a67d0739627c17ba4e1b8c6c978980cc43cb6e932f32e6d022c16
|
|
| MD5 |
50da5df0534ba2d18d4ade738f6660ba
|
|
| BLAKE2b-256 |
319d8260c7feb72ac8566fc90a24ffdd437f196c59ac4e3537179a3e54d7f4bb
|
Provenance
The following attestation bundles were made for mantissa_nn-0.1.0.tar.gz:
Publisher:
release.yml on tekinertekin/mantissa-nn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mantissa_nn-0.1.0.tar.gz -
Subject digest:
c864d613098a67d0739627c17ba4e1b8c6c978980cc43cb6e932f32e6d022c16 - Sigstore transparency entry: 2197244367
- Sigstore integration time:
-
Permalink:
tekinertekin/mantissa-nn@a36998ed254560f01993b8052ad50ba5e0da8353 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/tekinertekin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a36998ed254560f01993b8052ad50ba5e0da8353 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c8eca5682135aa25fa7f4e901936a218fc5492e266b80ac2bfc1502f25f9a75
|
|
| MD5 |
63f236e87abcfeba287ba54a24133c13
|
|
| BLAKE2b-256 |
edd3b330d447c8a504d6545903cb6185feb74303f080654bc7cae6d43d10525d
|
Provenance
The following attestation bundles were made for mantissa_nn-0.1.0-py3-none-any.whl:
Publisher:
release.yml on tekinertekin/mantissa-nn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mantissa_nn-0.1.0-py3-none-any.whl -
Subject digest:
7c8eca5682135aa25fa7f4e901936a218fc5492e266b80ac2bfc1502f25f9a75 - Sigstore transparency entry: 2197244502
- Sigstore integration time:
-
Permalink:
tekinertekin/mantissa-nn@a36998ed254560f01993b8052ad50ba5e0da8353 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/tekinertekin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a36998ed254560f01993b8052ad50ba5e0da8353 -
Trigger Event:
push
-
Statement type: