Estimate total training FLOPs from parameter count and training tokens using Kaplan-style scaling laws, for compute planning.
N、D 单位需一致,结果数量级参考。