Skip to main content

Python class

PixelGenerationInputs

PixelGenerationInputs

class max.interfaces.PixelGenerationInputs(batch)

source

Bases: PipelineInputs, Generic[PixelGenerationContextType]

Input data structure for pixel generation pipelines.

This class represents the input data required for pixel generation operations within the pipeline framework. It extends PipelineInputs and provides type-safe generic support for different pixel generation context types.

Parameters:

batch (dict[RequestID, PixelGenerationContextType])

batch

batch: dict[RequestID, PixelGenerationContextType]

source

A dictionary mapping RequestID to PixelGenerationContextType instances. This batch structure allows for processing multiple pixel generation requests simultaneously while maintaining request-specific context and configuration data.