penzai.deprecated.v1.nn

penzai.deprecated.v1.nn#

Penzai’s declarative neural network library.

Submodules

penzai.deprecated.v1.nn.attention

Base attention dataflow combinators.

penzai.deprecated.v1.nn.basic_ops

Basic primitives for neural networks.

penzai.deprecated.v1.nn.combinators

Dataflow combinators for neural networks.

penzai.deprecated.v1.nn.dropout

Dropout regularization using RandomEffect.

penzai.deprecated.v1.nn.embeddings

Structs for handling tokens.

penzai.deprecated.v1.nn.grouping

Grouping layers, for chaining sequential computations.

penzai.deprecated.v1.nn.linear_and_affine

Generalized linear operator layer and associated utilities.

penzai.deprecated.v1.nn.parameters

A simple parameter type.

penzai.deprecated.v1.nn.standardization

Layer normalization (stateless) using named axes.