Skip to main content

A small experimental neural network library where neurons are represented as matrices.

Project description

MATNETS

MATNETS is a JAX library for matrix-neuron neural network experiments.

In a traditional neural network, a neuron carries one scalar activation. In MATNETS, each neuron carries an n x n matrix. A layer maps a stack of input matrix-neurons to a stack of output matrix-neurons.

Core Shape Contract

The core dense primitive uses:

params.W: (q, p, n, n)
params.B: (q, n, n)
x:        (p, n, n)
output:   (q, n, n)

p is the input neuron count. q is the output neuron count. n is the matrix size for every neuron.

Read Next

  • Getting Started: install MATNETS and run a first dense layer.
  • Concepts: understand matrix-neuron shapes and JAX transforms.
  • API Guide: see each public function and its expected shapes.
  • Examples: run the included examples.
  • Development: run tests and local checks.

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

matnets-2.5.2.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

matnets-2.5.2-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file matnets-2.5.2.tar.gz.

File metadata

  • Download URL: matnets-2.5.2.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for matnets-2.5.2.tar.gz
Algorithm Hash digest
SHA256 19da2709563485f26913b4ea9e610ed2f86685284ae5d983b838f2bcd2a398ed
MD5 bb5f35fa9c3a4767dd60c7fef9b62bbd
BLAKE2b-256 d5d312b7d79d92ae5044a24eddbc73ca82430057ae6b67cfe32fb7c7f029f9e5

See more details on using hashes here.

File details

Details for the file matnets-2.5.2-py3-none-any.whl.

File metadata

  • Download URL: matnets-2.5.2-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for matnets-2.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f939c6ccb4ab106453b9f306e2bc5869a8509d735629bb28591710f68a716b0e
MD5 eac034fdd283e905b3faf31a0c2aa7ea
BLAKE2b-256 879652b2ff2eee9d38077c411997e32d8dfb79ff6c189ea1e01b05fd8926c0e4

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