Skip to main content
Log in

Mojo module

session

Defines the InferenceSession type that serves as an entry point to MAX Engine.

Structs

  • InferenceSession: Holds the context for MAX Engine in which you can load and run models.
  • InputSpec: Specifies a model's input shape and data type (required for TorchScript).
  • SessionOptions: Configuration options for InferenceSession.