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 function

load_graph_api_module

load_graph_api_module()​

max.pipelines.lib.registration_graph_api.load_graph_api_module(module_cls, config, state_dict, *, strict=None)

source

Constructs a registered module as module_cls(config) and loads it.

The class’s override_quantization_encoding and strict_state_dict_loading say how state_dict loads; strict overrides the latter.

Parameters:

Return type:

Module