| from .visualize import plot_loss_curve | |
| _TRAINING_EXPORTS = { | |
| "train_one_epoch_condition", | |
| "train_one_epoch_flow_matching", | |
| "evaluate_stage1", | |
| "evaluate_stage2", | |
| "make_data_loaders", | |
| "main", | |
| } | |
| def __getattr__(name): | |
| if name in _TRAINING_EXPORTS: | |
| from . import training | |
| return getattr(training, name) | |
| raise AttributeError(f"module {__name__!r} has no attribute {name!r}") | |
| __all__ = [ | |
| "plot_loss_curve", | |
| *_TRAINING_EXPORTS, | |
| ] | |