All models

SimpleConv-net

PyTorch Geometric's parameter-free message passing layer: weighted neighbor features, aggregated and nothing learned.

Graphs and geometry · 17 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 (24 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
1.6K
Operations
17
Framework
PyTorch
Recurrent
No
Published
2023
License
MIT
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
m2849
Graph hash
3cf787e49153f568cff6cb1aa989d861c64462036c0209dbc2d4220441f89a08
Skeleton hash
8b19e92cb863c5d4f75ef39e4f02fb1047623b1275a9b5b96a6b14ba8f3a2ad6
Architecture hash
51d973168eaa0f3fd6e09269b56c0f0b5f72bdf04ba26cfb9afcd5ff8492ee81
Diagram SHA-256
d320ad52fc70dd31c63f7fe754d977cba603f49c68a3aa5a79a73920bdc2f0aa
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

SimpleConv, from PyTorch Geometric, is a simple message passing operator that performs non-trainable propagation. Each node's new feature is the aggregate of its neighbors' features, each scaled by the weight of the edge between them. The aggregation itself is left open as a custom scheme. It can be add, sum, mean, min, max or mul, or any Aggregation module, and the default is sum. An optional combine_root setting folds the central node's own representation back in by sum, concatenation or a self loop, and is off by default.

The layer is built on PyG's MessagePassing base class. Its forward pass takes node features, edge indices and optional edge weights. It also handles bipartite graphs, taking a pair of source and target feature matrices and returning features for the target nodes only. Because there is nothing to learn, the layer's reset_parameters call has nothing to reset.

Key idea. SimpleConv gives PyTorch Geometric a baseline layer with no trainable weights: a simple message passing operator that performs non-trainable propagation.

  • simpleconv
  • simple conv
  • simple message passing
  • non-trainable propagation
  • pyg
  • pytorch geometric
  • torch_geometric
  • baseline
  • aggregation
  • graph propagation

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