Skip to content

Commit

Permalink
Merge pull request #31 from aimclub/fairness
Browse files Browse the repository at this point in the history
Fairness
  • Loading branch information
ShikovEgor authored Jan 17, 2024
2 parents 7af183b + 7c71939 commit 28cb607
Show file tree
Hide file tree
Showing 7 changed files with 23,481 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable_gnn/embedding/sampling/abstract_samplers.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _sample_negative(self, batch: Tensor, num_negative_samples: int) -> Tensor:
Sample negative edges for batch of nodes
:param batch: (Batch): Nodes for negative sampling
:param num_negative_samples: (int): number of negative samples for each edge
:param num_negative_samples: (int): Number of negative samples for each edge
:return: (Tensor): Negative samples
"""
a, _ = subgraph(batch, self.data.edge_index.to(self.device))
Expand Down
Loading

0 comments on commit 28cb607

Please sign in to comment.