All models

lambda_resnet50ts

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

Image classification · 450 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 (19 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
21.5M
Operations
450
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
m5531
Graph hash
154146af132df334d16f1f90ffd7b239fd08aa984c66d648c6d00f601e0236b5
Skeleton hash
555b3c793fc1d54ed88fe1b52e68488f4e04cba1c26765fd0d319fcdfd510752
Architecture hash
db857db65209d3f37a231e067e1d1b0a4159b5e7d3b307153e34bf76f2f137aa
Diagram SHA-256
23013bad56acfc35b345950a2b01d711c6cb810a1270ed12b419dc6af905e134
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_resnet50ts', pretrained=False)

What it is

This model, Lambda-ResNet-50-TS, uses SiLU activations and lambda layers with conv pos 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.