Skip to main content

Python class

AudioGenerationContextType

AudioGenerationContextType

class max.pipelines.modeling.types.AudioGenerationContextType

source

Type variable for audio generation context types.

This type variable is bound to BaseContext and represents the specific context type used in audio generation pipelines. It allows for type-safe generic programming while ensuring that all context types inherit from BaseContext and maintain the required interface for audio generation operations.

alias of TypeVar(‘AudioGenerationContextType’, bound=BaseContext)