Swin-Tiny Patch4 Window7 224 (Microsoft) transformer
| Component | Version |
|---|---|
| torch | 2.9.0 |
| torch-npu | 2.9.0.post1 |
| CANN | 8.5.1 |
| NPU | Ascend 910B4 |
| Metric | Value |
|---|---|
| Cosine Similarity | 0.999986 |
| Max Abs Error | 0.002750 |
| CPU/NPU Prediction | Match (class 58) |
| Metric | Value |
|---|---|
| Avg Latency | 9.24 ms |
| Output Shape | [1, 1000] |
| Metric | CPU | NPU | Diff |
|---|---|---|---|
| Cosine Similarity | 1.0 | 0.999986 | - |
| Output Shape | [1,1000] | [1,1000] | Same |
| Prediction | 58 | 58 | Same |