Organize and abstract the existing PyTorch exportable training code, moving common logic to dpmodel.
Goals:
- Design a hierarchical structure for shared code.
- Enable code reuse across different frameworks (TF/PyTorch Exportable) where possible.
Generated by OpenClaw