All models

lambda_resnet26rpt_256

A Lambda ResNet built on timm's Bring-Your-Own-Attention Network, with lambda layers in the last two stages.

Image classification · 264 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 (14 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
11M
Operations
264
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
m5529
Graph hash
e0c7bf302ef95c302c625ef38ccf73c170544a694fbd8dc920a365a4f25b1af1
Skeleton hash
c108808c466e0034edec117cb430cbc07dfa46b9e91cc316ddfe8392fa77b601
Architecture hash
07642322b0e7422ce5af91c02c752b1e628c8de25b2792bfdda3daacf5b523ca
Diagram SHA-256
9650d06d173aaf893b6d0306581180cae46ab3afe2c486f2ea4e425c9698966b
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('lambda_resnet26rpt_256', pretrained=False)

What it is

This model, Lambda-ResNet-26-R-T, uses lambda layers with relative position embeddings in its last two stages.

About this model's family

Lambda ResNets in the timm library are built on its Bring-Your-Own-Attention Network. That network is a flexible design whose configuration stacks neural network blocks, including self-attention or similar layers. The three models defined are Lambda-ResNet-26-T, Lambda-ResNet-26-R-T and Lambda-ResNet-50-TS, and each has lambda layers in its last two stages.

The same network is also used for experimental variants of Bottleneck Transformers and HaloNets. The library's author asks readers to consider all of these model definitions experimental work in progress and likely to change.

Key idea. The Bring-Your-Own-Attention Network implements experimental variants of Lambda ResNets, with lambda layers in the last two stages.

  • lambda resnet
  • lambda_resnet
  • lambda-resnet
  • lambda layers
  • byoanet
  • bring-your-own-attention network
  • image classification

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