MCPcopy Create free account
hub / github.com/PyGCL/PyGCL / Graph

Class Graph

GCL/augmentors/augmentor.py:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7
8class Graph(NamedTuple):
9 x: torch.FloatTensor
10 edge_index: torch.LongTensor
11 edge_weights: Optional[torch.FloatTensor]
12
13 def unfold(self) -> Tuple[torch.FloatTensor, torch.LongTensor, Optional[torch.FloatTensor]]:
14 return self.x, self.edge_index, self.edge_weights
15
16
17class Augmentor(ABC):

Callers 11

augmentMethod · 0.90
augmentMethod · 0.90
augmentMethod · 0.90
augmentMethod · 0.90
augmentMethod · 0.90
augmentMethod · 0.90
augmentMethod · 0.90
augmentMethod · 0.90
augmentMethod · 0.90
augmentMethod · 0.90
__call__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected