Method
__call__
(
self, x: torch.FloatTensor,
edge_index: torch.LongTensor, edge_weight: Optional[torch.FloatTensor] = None
)
Source from the content-addressed store, hash-verified
| 24 | raise NotImplementedError(f"GraphAug.augment should be implemented.") |
| 25 | |
| 26 | def __call__( |
| 27 | self, x: torch.FloatTensor, |
| 28 | edge_index: torch.LongTensor, edge_weight: Optional[torch.FloatTensor] = None |
| 29 | ) -> Tuple[torch.Tensor, torch.Tensor, Optional[torch.Tensor]]: |
| 30 | return self.augment(Graph(x, edge_index, edge_weight)).unfold() |
| 31 | |
| 32 | |
| 33 | class Compose(Augmentor): |
Callers
nothing calls this directly
Tested by
no test coverage detected