All models

starnet_s2

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

Image classification · 137 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 (32 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
3.7M
Operations
137
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
m10272
Graph hash
d5ecd72bbf3c4517fd595738f01dbb693f3c8c0b99d2a906511dc5242feec6f0
Skeleton hash
67a7ab0a954c60aae98d0eeadbf9110d59b126ec97b8d3fce97949053fb12f29
Architecture hash
b0832ac8bd98884ec07bac3b0274d62de3ac9a7252fb288aeca66dbf027961f3
Diagram SHA-256
b1d863736b740e85ee88631ca928a975d424c6f0b990c7a38fcd77954e08bd33
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_s2', 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.