Data

Data#

Learning-oriented, hands-on notebooks for structures that represent, store, or generate neural connectivity. Start with general compressed sparse storage, continue to explicit fixed-count constraints, and finish with connectivity generated just in time.

If you are brand new, start with Quickstart.

For binary activity representations and event-driven behavior, use the Events tutorials.

Use this section to learn how a connectivity representation changes the way you construct and apply a neural network. The notebooks introduce the stored arrays and their relationships before showing how to use each structure in computations. Begin with sparse matrices to understand compressed storage and the distinction between row and column layouts. Continue with fixed connections when your model constrains the number of connections, then explore just-in-time connectivity when storing every connection would be inconvenient. Work through the examples with a small network first so you can inspect shapes and compare results. When choosing a representation for a larger model, consider both the connectivity pattern and the operations you need to perform. The linked how-to guides can then help you turn these lessons into a concrete implementation.

Explore this section#

Sparse matrices

Learn compressed sparse storage and how to use sparse matrix representations.

CSR and CSC Sparse Matrices
Fixed connections

Explore connectivity structures with explicit connection-count constraints.

Fixed Connection Count Structures
Just-in-time connectivity

Generate connectivity during computation instead of storing every connection.

Just-in-Time Connection Matrices