All models

test_resnet

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

Image classification · 61 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 (18 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
469.7K
Operations
61
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
m10491
Graph hash
6ab4a31dffb76f4991051896a6d49dd994700890b386cb37a49825c36f016dba
Skeleton hash
d0d893f4e63dc20e1fc8bfe5af39f71eb422c02c9cb61420fe8b2cee0b5ab9cd
Architecture hash
35ea870ae9e17cee5b86d45de625a60744f9be5cfc0d783f3c81f1773cb6d341
Diagram SHA-256
dd774cff826876afd942ae972c589bd8fda4af553e7608c2849b89a23c398907
TorchLens version
2.36.0
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_resnet', 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.