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 class

ConstantInputs

ConstantInputsโ€‹

class max.pipelines.lib.registration_runtime.ConstantInputs(input_types, buffers)

source

Bases: object

The declared graph types and lifetime-owned deployment buffers.

The buffers stay alive with the batch processor and are passed unchanged every step. They are checkpoint-backed inputs, not mutable workspace.

Parameters:

buffersโ€‹

buffers: tree.Tree[Buffer]

source

input_typesโ€‹

input_types: tree.Tree[TensorType | BufferType]

source