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-3.2.0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

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

matnets-3.2.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for matnets-3.2.0.tar.gz
Algorithm Hash digest
SHA256 13c6b64e5fc6da3185a7a31b1e4cc7f39a0674331dbd0d9d6e72135b558ba4f1
MD5 1a9296a9560f6223a408a9bc150ed8f9
BLAKE2b-256 2dfeea487e00a219da01cc2d84691ede3871ec086c18753bc8b5f5ee764b34e9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for matnets-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6cef35f8dd2354e5c4e3bbad4e920bf2715e9d9e633854c622f601e6b210f207
MD5 d0d9ac3dbfe045f010f66d36d47817ac
BLAKE2b-256 7e37f461504d5e4d70b7fa7ac1cc2f9eaab09ac97ee1560aaa53752208377b02

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