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

Method forward

layer.py:86–103  ·  view source on GitHub ↗

:param x: node feature matrix :param edge_attr: edge feature matrix :param edge_paths: pairwise node paths in edge indexes :return: torch.Tensor, Edge Encoding matrix

(self, x: torch.Tensor, edge_attr: torch.Tensor, edge_paths)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

dot_productMethod · 0.95

Tested by

no test coverage detected