Full verification result.
| 71 | |
| 72 | @dataclass |
| 73 | class VerificationResult: |
| 74 | """Full verification result.""" |
| 75 | model_name: str = "" |
| 76 | input_shape: str = "" |
| 77 | dtype_str: str = "" |
| 78 | gpu_name: str = "" |
| 79 | |
| 80 | # Reference run |
| 81 | ref_output_shape: str = "" |
| 82 | ref_latency_ms: float = 0.0 |
| 83 | |
| 84 | # Optimized run |
| 85 | opt_output_shape: str = "" |
| 86 | opt_latency_ms: float = 0.0 |
| 87 | kernels_replaced: List[Dict[str, Any]] = field(default_factory=list) |
| 88 | |
| 89 | # Comparison |
| 90 | correctness: str = "UNKNOWN" |
| 91 | max_abs_error: float = 0.0 |
| 92 | mean_abs_error: float = 0.0 |
| 93 | has_nan: bool = False |
| 94 | has_inf: bool = False |
| 95 | |
| 96 | # Summary |
| 97 | end_to_end_speedup: float = 0.0 |
| 98 | |
| 99 | |
| 100 | # --------------------------------------------------------------------------- |