MCPcopy Create free account
hub / github.com/XiaShan1227/Graphormer / forward

Method forward

layer.py:61–73  ·  view source on GitHub ↗

:param x: node feature matrix :param paths: pairwise node paths :return: torch.Tensor, spatial Encoding matrix

(self, x: torch.Tensor, paths)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected