vortex_torch.flow.registry¶
Functions
|
Return the registered class for a given name, or raise if not found. |
|
Check whether a name is registered. |
List all registered names. |
|
|
Decorator used by users to register their vFlow subclasses. |
Exceptions
Errors related to class registration and lookup. |
- register(name)[source]¶
Decorator used by users to register their vFlow subclasses. .. rubric:: Example
@register(“cls_a”) class MyFlow(vFlow): …
- Parameters:
name (str)