计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
deep_ritz_residual_trial_network【效率与协作】Build smooth residual trial networks for Deep Ritz variational PDE objectives.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a variational PDE solver needs a scalar neural trial function u(x; theta) whose spatial gradients can be differentiated. Do not use it for mesh-only PDE discretizations.
grad_x u.[batch, 1].Run:
python tests/test_residual_network.py
The helper uses PyTorch when available. If PyTorch is unavailable, tests still validate architecture metadata and deterministic parameter counting, but recovery should record that full autograd training is blocked.