Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acbull/pyHGT
/ functions
Functions
132 in github.com/acbull/pyHGT
⨍
Functions
132
◇
Types & classes
26
Method
forward
(self, x)
pyHGT/model.py:9
Method
forward
(self, x, y, infer = False, pair = False)
pyHGT/model.py:27
Method
forward
(self, node_feature, node_type, edge_time, edge_index, edge_type)
pyHGT/model.py:69
Function
mean_reciprocal_rank
(rs)
ogbn-mag/pyHGT/utils.py:38
Function
mean_reciprocal_rank
(rs)
pyHGT/utils.py:18
Method
message
j: source, i: target; <j, i>
OAG/pyHGT/conv.py:60
Method
message
j: source, i: target; <j, i>
OAG/pyHGT/conv.py:197
Method
message
j: source, i: target; <j, i>
ogbn-mag/pyHGT/conv.py:60
Method
message
j: source, i: target; <j, i>
ogbn-mag/pyHGT/conv.py:197
Method
message
j: source, i: target; <j, i>
pyHGT/conv.py:60
Method
message
j: source, i: target; <j, i>
pyHGT/conv.py:197
Function
ndcg_at_k
(r, k)
ogbn-mag/pyHGT/utils.py:31
Function
ndcg_at_k
(r, k)
pyHGT/utils.py:11
Function
normalize
Row-normalize sparse matrix
pyHGT/utils.py:23
Function
ogbn_sample
(seed, samp_nodes)
ogbn-mag/eval_ogbn_mag.py:67
Function
ogbn_sample
(seed, samp_nodes)
ogbn-mag/train_ogbn_mag.py:67
Function
randint
()
pyHGT/utils.py:42
Function
renamed_load
(file_obj)
pyHGT/data.py:268
Function
sample_subgraph
Sample Sub-Graph based on the connection of other nodes with currently sampled nodes We maintain budgets for each node type, indexed
pyHGT/data.py:87
Function
sparse_mx_to_torch_sparse_tensor
Convert a scipy sparse matrix to a torch sparse tensor.
OAG/pyHGT/utils.py:33
Function
sparse_mx_to_torch_sparse_tensor
Convert a scipy sparse matrix to a torch sparse tensor.
ogbn-mag/pyHGT/utils.py:53
Function
sparse_mx_to_torch_sparse_tensor
Convert a scipy sparse matrix to a torch sparse tensor.
pyHGT/utils.py:33
Function
to_torch
Transform a sampled sub-graph into pytorch Tensor node_dict: {node_type: <node_number, node_type_ID>} node_number is used to trace ba
pyHGT/data.py:212
Method
update
Step 3: Target-specific Aggregation x = W[node_type] * gelu(Agg(x)) + x
OAG/pyHGT/conv.py:114
Method
update
Step 3: Target-specific Aggregation x = W[node_type] * Agg(x) + x
OAG/pyHGT/conv.py:251
Method
update
Step 3: Target-specific Aggregation x = W[node_type] * gelu(Agg(x)) + x
ogbn-mag/pyHGT/conv.py:114
Method
update
Step 3: Target-specific Aggregation x = W[node_type] * Agg(x) + x
ogbn-mag/pyHGT/conv.py:251
Method
update
Step 3: Target-specific Aggregation x = W[node_type] * gelu(Agg(x)) + x
pyHGT/conv.py:114
Method
update
Step 3: Target-specific Aggregation x = W[node_type] * Agg(x) + x
pyHGT/conv.py:251
Method
update_node
(self, node)
OAG/pyHGT/data.py:66
Method
update_node
(self, node)
ogbn-mag/pyHGT/data.py:66
Method
update_node
(self, node)
pyHGT/data.py:66
← previous
101–132 of 132, ranked by callers