All models

HeteroConv-net

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

Graphs and geometry · 111 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 (30 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
2.6K
Operations
111
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
m1343
Graph hash
a24e338842b0378a96da108583bf10afd73e8c6f704c66f6cd5bb5b787dfdccc
Skeleton hash
3d5144e8d5a66d266315b9edb1b2482d972cb566cdaaa96456eac9e93d609d29
Architecture hash
5bd174c141489bd852da7821241ee3863ee97b031fc7f01acc7db83428a608e7
Diagram SHA-256
e8b333332e0976080f183614d0cce8ef7ac315e62adf1508743f6b0186f5fdff
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.