Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions hgt.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,7 @@ def add_budget(te, target_id, target_time, layer_data, budget):
if (args.loss == "cross"):
from torch_geometric.utils import remove_self_loops
from torch_geometric.utils import add_self_loops
from torch_geometric.utils import negative_sampling

EPS = 1e-15
value = (node_rep[edge_index[0]] *
Expand Down