Example: Comprehensive PINN Demo
Crate: kwavers
Run: cargo run -p kwavers --example comprehensive_pinn_demo --features pinn
Source: crates/kwavers/examples/comprehensive_pinn_demo.rs
Overview
Showcases the complete Physics-Informed Neural Network (PINN) ecosystem: basic training → advanced physics domains → meta-learning → uncertainty quantification → cloud deployment.
Capabilities demonstrated
- Wave equation PINN — 1D and 2D acoustic wave equation training
- Tissue heterogeneity — spatially varying speed of sound
- Inverse problem — parameter estimation from synthetic measurements
- Uncertainty quantification — dropout and ensemble variance
- Transfer learning — pre-trained → fine-tune on new geometry
- Deployment — JIT compilation for real-time inference
Part Reference
Part IV — Inverse Problems and Physics-Informed Neural Networks