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
|
Shards a tree of |
|
Shards a tree of |
|
Initializes a model, with constants and variables sharded based on a mesh. |