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
DecoderOutputs
DecoderOutputs
class max.nn.graph_groups.DecoderOutputs(*args, **kwargs)
Bases: GraphGroup[str, Logits | HiddenStates | ConvStates | SparseIndices]
A decoder graph’s named outputs: its logits, any
hidden_states, and any state it writes back.
group()
group(name, cls)
Returns the group named name, checked to be a cls.
hidden_states
property hidden_states: HiddenStates
The decoder’s hidden states.
kind
Identifies the feature wherever the group sits in a tree.
logits
property logits: Logits
The decoder’s logits.