IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
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

GraphGroup

GraphGroup​

class max.nn.graph_groups.GraphGroup(*args, **kwargs)

source

Bases: OrderedDict[_K, _V]

The named graph inputs or outputs of one feature, in graph order.

An OrderedDict keeps insertion order when flattened, where a plain dict would sort its keys. Each subclass fixes the names and values it holds.

Parameters:

Return type:

Self

kind​

kind: ClassVar[str | None] = None

source

Identifies the feature wherever the group sits in a tree.