All models

test_nfnet

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

Image classification · 227 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 (21 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
383.1K
Operations
227
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
m10490
Graph hash
990a92202be6a6d7120b370031a0f008289d35c8fb7b1828d9068e5d2990918c
Skeleton hash
369363782fae4e98225620ef8456e1f838ee467609d55697198a6ba9d6b20f32
Architecture hash
78c9f6ca2b795d2d75d2f96f519074cae164e4ffcab8bfafbad4a66f3cf804bc
Diagram SHA-256
1119b638735c08eda9ff5579a228de7fee003d4f9e2dac3ae79d42c6251fb4df
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_nfnet', 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.