Repository navigation
Commit 5fac4ae
Fix GatedGraphConv hidden-state recursion for num_layers > 1
The heterograph change built the messages of every step from the initial
padded features, so homogeneous inputs with num_layers > 1 no longer
matched the GGNN recursion. Messages again come from the evolving hidden
state, unless distinct source features are given (e.g. another node
type): those have no hidden state in the relation and stay fixed, padded
to `dims`. Source features are now also checked against `dims`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 1e642b8 commit 5fac4ae
1 file changed
Lines changed: 13 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
218 | 224 | | |
219 | 225 | | |
220 | 226 | | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
240 | 231 | | |
241 | | - | |
242 | | - | |
243 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
244 | 235 | | |
245 | 236 | | |
246 | 237 | | |
| |||
0 commit comments