Unverified Commit cba465f2 authored by Peiqi Yin's avatar Peiqi Yin Committed by GitHub
Browse files

[BugFix] hetero ogbn-mag full neighbor inference. (#4010)



* fix hetero ogbn-mag full neighbor inference.

* fix hetero
Co-authored-by: default avatarMufei Li <mufeili1996@gmail.com>
parent 53835bdb
......@@ -321,7 +321,7 @@ class EntityClassify(nn.Module):
if i < self._num_layers - 1:
h = self._apply_layers(i, h)
for ntype in h:
for ntype in out_nodes:
y[ntype][out_nodes[ntype]] = h[ntype]
x = y
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment