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
ProcessorInputs
ProcessorInputsโ
class max.pipelines.context.ProcessorInputs(logits, context)
Bases: object
Inputs passed to a logits processor callback.
-
Parameters:
-
- logits (md.Buffer)
- context (TextContext)
contextโ
context: TextContext
The generation context containing request state and sampling configuration.
logitsโ
logits: md.Buffer
The model logits buffer with shape (N, vocab_size) and float32 dtype.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!