All models

starnet_s4

A minimal network built to show what element-wise multiplication alone can do.

Image classification · 269 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

Family
StarNet
Parameters
7.5M
Operations
269
Framework
PyTorch
Recurrent
No
Published
2024
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
m10274
Graph hash
b11de07d35f1ce5ae6e43865bffe6ca9c6eef538c08fc752e4abe25d185cc673
Skeleton hash
4babc9d5d617399bdf66b06e7db1c043fdc2d1cf30bf0883f67156a1819cfa37
Architecture hash
dfc800e60995f36f2ae2456b27b8c6b26bb06fc2c1f869a06cb350b05e43f879
Diagram SHA-256
f2e3a135dd116015f7a58cf116db03c2e335b3e2bc057bf62497b010ce13755c
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('starnet_s4', pretrained=False)

What it is

About this model's family

StarNet is a proof-of-concept image classification network built to show one thing: the contribution of element-wise multiplication as its key operation. The authors kept the design as simple as possible, with no layer scale in the network and no EMA during training, noting that both would improve results further. The timm implementation was created by Xu Ma.

Seven members are traced here, starnet_s1 through starnet_s4 and the smaller starnet_s050, starnet_s100 and starnet_s150, each emitting 1000-way logits from a 224x224 image through a convolutional stack.

Key idea. Demonstrating element-wise multiplication as the key operation of a deliberately minimal network.

  • StarNet
  • starnet_s1
  • starnet_s2
  • starnet_s3
  • starnet_s4
  • starnet_s050
  • starnet_s100
  • starnet_s150
  • element-wise multiplication
  • timm
  • image classification
  • Xu Ma

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