All models

test_convnext

timm's miniature test backbones, swept into the roster because the library lists them.

Image classification · 162 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 (24 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
272.1K
Operations
162
Framework
PyTorch
Recurrent
No
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
m10482
Graph hash
6c43e8b1bb67ba06dc54e492eba5b00db87fa1ee10cf43ecc9ad3da854766cb3
Skeleton hash
471cbf5e72e8556561e4700cd4699b92da279cf49dc9882933268955731907a5
Architecture hash
08f2ec2a346db984e7f17384e2f5f39e9d9b91c5a1cdb2bba68168e8c6e8c68e
Diagram SHA-256
2fb6d7cc7b5c03952d4a9160c4f9473172f59880abb0d2b540297b2d86eb3d32
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('test_convnext', pretrained=False)

What it is

About this model's family

These are timm's own internal test models: miniature registrations of its ByobNet, ConvNeXt, EfficientNet, MambaOut, NFNet, ResNet and Vision Transformer code paths, exposed by list_models and so swept into the roster. The test_byobnet model comes from Bring-Your-Own-Blocks Network, a flexible network with a dataclass-based config for stacking blocks, and is described as a minimal test ResNet. The ConvNeXt tests sit in the module implementing A ConvNet for the 2020s and ConvNeXt V2, where several small model definitions are timm originals. The EfficientNet tests, including evos, group-norm and layer-norm variants, come from the module covering the EfficientNet family and relatives such as MixNet, MnasNet, FBNet and TinyNet. The MambaOut test comes from code adapted from timm, MetaFormer and InceptionNeXt.

All fifteen members run from random initialisation at a 160x160 input and emit 1000-way logits, which is what the library's own tests exercise.

Key idea. Tiny registrations of timm's main backbone code paths, kept to test the library rather than to classify images well.

  • timm test models
  • test_byobnet
  • test_convnext
  • test_efficientnet
  • test_mambaout
  • test_nfnet
  • test_resnet
  • test_vit
  • timm internal test registration
  • timm
  • Ross Wightman

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