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.1.1.tar.gz (10.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-3.1.1-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for matnets-3.1.1.tar.gz
Algorithm Hash digest
SHA256 f3c190974b068a6d85a12b751d1e950894fa86b62805f6785f30bac9566adba4
MD5 b689588cbadacba5d5a7fd2a9788bcee
BLAKE2b-256 f04ccb6ac7265f884ad1b8ed36307fdff381ecc36ad572825940f00ece94b41b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: matnets-3.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.7 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d22c1749c60f57ef609a1a779b4771d632998580756dfa2e7721608ca875135e
MD5 b62f81925c625222285cc09b52a0fe46
BLAKE2b-256 7e7f8648c01c3be760f6bc53f1cf9306272ef8fc05a482c81ac17feeed77c308

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