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
apply_weight_entries
apply_weight_entries()
max.pipelines.lib.apply_weight_entries(entries, checkpoints)
Returns the weights a graph’s entries name.
-
Parameters:
-
- entries (Sequence[WeightEntry]) – The graph’s entries.
- checkpoints (Mapping[CheckpointRole, Mapping[str, Weights]]) – The weights of the checkpoints the entries name, keyed by role and then by checkpoint name.
-
Returns:
-
Every entry’s weights, keyed by the names the entries give them.
-
Raises:
-
ValueError – If two weights get one name, or an entry names a checkpoint
checkpointslacks. -
Return type: