All models

HeteroConv

A wrapper that applies a separate graph convolution to each edge type of a heterogeneous graph.

Graphs and geometry · 53 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 (35 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
944
Operations
53
Framework
PyTorch
Recurrent
No
Published
2020
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
m1342
Graph hash
761a7f2020306687c521c82c5e7a84d68c3a2878f14547a3486c5a114276293d
Skeleton hash
e797f8ab49f85359a69327690c7f4538b53448f67fbe5bf91201e02cda0e18db
Architecture hash
c70e468d2d4ebd7c84790efb4ba56026ed1297bebbeb5bde6cb8ef94789f149d
Diagram SHA-256
02fc94fa79bc9f7e977f6037fedd2cf106db958eca8f0f7466e9ce7b44d01f40
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

About this model's family

HeteroConv is a generic wrapper for computing graph convolution on heterogeneous graphs. It holds a bipartite message passing layer for each individual edge type. Messages pass from source nodes to target nodes through the layer given for that specific edge type. If multiple relations point to the same destination, their results are aggregated. The aggregation scheme groups the node embeddings generated by different relations, and it can be sum, mean, min, max or cat, with sum as the default.

Compared with the library's to_hetero function, this layer is especially useful when different message passing modules should be applied to different edge types.

Key idea. HeteroConv passes messages with a separate bipartite layer for each edge type and aggregates the results when multiple relations point to the same destination.

  • heteroconv
  • hetero_conv
  • heterogeneous graph convolution
  • heterogeneous graph
  • pytorch geometric
  • pyg
  • message passing
  • edge type

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