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

GraphOutputs

GraphOutputs​

max.graph.GraphOutputs

source

What a graph outputs: values, or a tree of them whose leaves are the outputs in order. Sequences and mappings rather than max.tree.Tree’s lists and dicts, so a list[TensorValue] or a typed group is accepted. Mapping keys only name the outputs, so any key type is.

alias of Value[Any] | Value[TensorType] | TensorValue | Shape | Dim | HasTensorValue | int | float | integer[Any] | floating[Any] | DLPackArray | Sequence[GraphOutputs] | Mapping[Any, GraphOutputs]