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_max_buffer
load_max_buffer()โ
max.driver.load_max_buffer(path)
Experimental method for loading serialized MAX buffers.
Max buffers can be exported by creating a graph and calling
Value.print() with the BINARY_MAX_CHECKPOINT option.
-
Parameters:
-
path (PathLike[str]) โ Path to buffer (should end with .max)
-
Returns:
-
A
Buffercreated from the path. The shape and dtype are read from the file. -
Raises:
-
ValueError โ If the file format is not the MAX checkpoint format.
-
Return type: