class MGNCLnnModule def forwardself orgx adjtensor outputs = for k in rangelenadjtensor adj = adjtensork x = orgx x = Freluselfgc1x adj x
在每个graph上进行前向传播,将每个graph的输出存储在outputs列表中,并返回这个列表。最后,这些输出将被用于计算平均输出。
原文地址: https://www.cveoy.top/t/topic/eQgM 著作权归作者所有。请勿转载和采集!