Swin-Small 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.999979 |
| Max Abs Error | 0.003207 |
| CPU/NPU Prediction | Match (class 99) |
| Metric | Value |
|---|---|
| Avg Latency | 17.63 ms |
| Output Shape | [1, 1000] |
| Metric | CPU | NPU | Diff |
|---|---|---|---|
| Cosine Similarity | 1.0 | 0.999979 | - |
| Output Shape | [1,1000] | [1,1000] | Same |
| Prediction | 99 | 99 | Same |