All models

efficientformerv2_s2

A vision transformer sized and timed for MobileNet-class deployment.

Image classification · 759 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (29 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
12.7M
Operations
759
Framework
PyTorch
Recurrent
No
Published
2023
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m4551
Graph hash
16c6fa8c7b737b62202d8637bbd35b7c3abd033a3cdb14eed104688c6a5e2d49
Skeleton hash
151d6d97bf5f99cd47402935eb9fe3d62c6d4d02b04518a418b9e7527751ca41
Architecture hash
2c82d322793cdb1ebfc5ae6d2633b7d19ca0701c4772b103c8ae4985c2c42144
Diagram SHA-256
3ae60e2087c158cdfaf7cae9e748643a624a266252d9ebd6915c7bef33737027
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

timm.create_model('efficientformerv2_s2', pretrained=False)

What it is

About this model's family

EfficientFormer-V2 is a vision transformer rethought for MobileNet size and speed. It comes from the paper Rethinking Vision Transformers for MobileNet Size and Speed by Yanyu Li, Ju Hu, Yang Wen, Georgios Evangelidis, Kamyar Salahi, Yanzhi Wang, Sergey Tulyakov and Jian Ren.

timm's version was significantly refactored and cleaned up from the original at snap-research/EfficientFormer. The original code is licensed Apache 2.0 and copyright 2022 Snap Inc. The timm modifications and support are by Ross Wightman.

Key idea. A vision transformer designed to match MobileNet in both size and speed.

  • efficientformerv2
  • efficientformer v2
  • efficientformer-v2
  • efficientformer
  • mobile vision transformer
  • snap
  • timm
  • image classification

AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.