For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Python function
is_static
is_static()
max.experimental.sharding.per_shard_dim.is_static(d)
True if d’s global extent is a static (compile-time) size.
A PerShardDim is judged by its global dim (see global_dim()),
so a sharded axis whose global is static reports True even though
isinstance(d, StaticDim) would not. Prefer this over
isinstance(dim, StaticDim) on a possibly-sharded shape.