Skip to main content

Python module

max.engine

Modular engine provides methods to load and execute AI models.

Model inference​

InferenceSessionManages an inference session in which you can load and run models.
ModelA loaded model that you can execute.

Configuration​

GPUProfilingModealias of Literal['off', 'on', 'detailed']
LogLevelThe LogLevel specifies the log level used by the Mojo Ops.
TensorSpecDefines the properties of a tensor, including its name, shape and data type.

Types​

CustomExtensionsType​

max.engine.CustomExtensionsType

source