Swin-Transformer icon indicating copy to clipboard operation
Swin-Transformer copied to clipboard

Flops computation for swin transformer

Open russ-spec opened this issue 2 years ago • 0 comments

Hi all, as title described, in the view of engineering and chip, one MAC(Multiply Accumulate) equals two Ops. So the flops computation for Convolution, MatMul, Linear should multiply to 2,which as changed here. Thus, for the swin-v1-tiny, the whole Flops should be 9GFlops.

### Tasks
- [ ] https://github.com/microsoft/Swin-Transformer/pull/339

russ-spec avatar Nov 08 '23 07:11 russ-spec