mapping_networks.registry.LOSS_REGISTRY

mapping_networks.registry.LOSS_REGISTRY: Registry[BaseLoss] = Registry('LOSS_REGISTRY', keys=('alignment', 'classification', 'regression', 'smoothness', 'stability', 'task'))

Named registry for pluggable mapping-network components.

Each registry maps string keys to classes. Built-in implementations are pre-registered; users add custom types with register().

Example:

from mapping_networks.registry import MAPPER_REGISTRY

MAPPER_REGISTRY.register("my_mapper", MyCustomMapper)
cls = MAPPER_REGISTRY.get("my_mapper")