For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Python class
CompileWrapper
CompileWrapperβ
class max.pipelines.diffusion.CompileWrapper(compile_target, input_types=None)
Bases: object
Wraps a compile target with optional input type annotations.
Initialize the CompileWrapper.
-
Parameters:
-
- compile_target (_CompileTarget) β The function or module to be compiled.
- input_types (Iterable[TensorType] | None) β A list of input types (TensorTypes) required for compilation.
-
Raises:
-
ValueError β If input_types is not provided.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!