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 class
BatchContext
BatchContext
class max.nn.graph_groups.BatchContext(*args, **kwargs)
Bases: GraphGroup[str, tuple[TensorType, …]]
Per-device host scalars summarizing the batch’s context lengths.
kind
Identifies the feature wherever the group sits in a tree.