Skip to content

whole_patching_model

Whole image patching Pydantic model.

WholePatchingModel #

Bases: BaseModel

Whole image patching Pydantic model.

Source code in src/careamics/config/data/patching_strategies/whole_patching_model.py
class WholePatchingModel(BaseModel):
    """Whole image patching Pydantic model."""

    name: Literal["whole"] = "whole"
    """The name of the patching strategy."""

name = 'whole' class-attribute instance-attribute #

The name of the patching strategy.