Python class
VLMContextType
VLMContextType
class max.pipelines.modeling.types.pipeline_variants.VLMContextType
Type variable for VLM context types, constrained to VLMTextGenerationContext.
This allows generic typing of VLM pipeline components to accept any context type that implements the VLMTextGenerationContext protocol.
alias of TypeVar(‘VLMContextType’, bound=VLMTextGenerationContext)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!