ImagePerturbationRegistry

Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.

class ImagePerturbationRegistry[source]

Bases: ComponentRegistry[Type[ImagePerturbation]]

Name-to-implementation registry for image perturbations.

domain: ClassVar[str] = 'image_perturbation'

Plugin domain name; snake_case of the protocol class, singular. The entry point group is f"habit.{domain}".

kind: str = 'image perturbation'

Human-readable component kind, used only in error messages.