sharding_util#
Utilities for working with sharded arrays and parameters in Penzai.
Classes
A layer that constrains the sharding of a tree of arrays. |
|
A layer that constrains the sharding of a tree of NamedArrays by name. |
Functions
|
Initializes the parameters of a model, sharded according to a mesh. |