MCPcopy Create free account

hub / github.com/acbull/pyHGT / functions

Functions132 in github.com/acbull/pyHGT

Methodforward
(self, x)
pyHGT/model.py:9
Methodforward
(self, x, y, infer = False, pair = False)
pyHGT/model.py:27
Methodforward
(self, node_feature, node_type, edge_time, edge_index, edge_type)
pyHGT/model.py:69
Functionmean_reciprocal_rank
(rs)
ogbn-mag/pyHGT/utils.py:38
Functionmean_reciprocal_rank
(rs)
pyHGT/utils.py:18
Methodmessage
j: source, i: target; <j, i>
OAG/pyHGT/conv.py:60
Methodmessage
j: source, i: target; <j, i>
OAG/pyHGT/conv.py:197
Methodmessage
j: source, i: target; <j, i>
ogbn-mag/pyHGT/conv.py:60
Methodmessage
j: source, i: target; <j, i>
ogbn-mag/pyHGT/conv.py:197
Methodmessage
j: source, i: target; <j, i>
pyHGT/conv.py:60
Methodmessage
j: source, i: target; <j, i>
pyHGT/conv.py:197
Functionndcg_at_k
(r, k)
ogbn-mag/pyHGT/utils.py:31
Functionndcg_at_k
(r, k)
pyHGT/utils.py:11
Functionnormalize
Row-normalize sparse matrix
pyHGT/utils.py:23
Functionogbn_sample
(seed, samp_nodes)
ogbn-mag/eval_ogbn_mag.py:67
Functionogbn_sample
(seed, samp_nodes)
ogbn-mag/train_ogbn_mag.py:67
Functionrandint
()
pyHGT/utils.py:42
Functionrenamed_load
(file_obj)
pyHGT/data.py:268
Functionsample_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
Functionsparse_mx_to_torch_sparse_tensor
Convert a scipy sparse matrix to a torch sparse tensor.
OAG/pyHGT/utils.py:33
Functionsparse_mx_to_torch_sparse_tensor
Convert a scipy sparse matrix to a torch sparse tensor.
ogbn-mag/pyHGT/utils.py:53
Functionsparse_mx_to_torch_sparse_tensor
Convert a scipy sparse matrix to a torch sparse tensor.
pyHGT/utils.py:33
Functionto_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
Methodupdate
Step 3: Target-specific Aggregation x = W[node_type] * gelu(Agg(x)) + x
OAG/pyHGT/conv.py:114
Methodupdate
Step 3: Target-specific Aggregation x = W[node_type] * Agg(x) + x
OAG/pyHGT/conv.py:251
Methodupdate
Step 3: Target-specific Aggregation x = W[node_type] * gelu(Agg(x)) + x
ogbn-mag/pyHGT/conv.py:114
Methodupdate
Step 3: Target-specific Aggregation x = W[node_type] * Agg(x) + x
ogbn-mag/pyHGT/conv.py:251
Methodupdate
Step 3: Target-specific Aggregation x = W[node_type] * gelu(Agg(x)) + x
pyHGT/conv.py:114
Methodupdate
Step 3: Target-specific Aggregation x = W[node_type] * Agg(x) + x
pyHGT/conv.py:251
Methodupdate_node
(self, node)
OAG/pyHGT/data.py:66
Methodupdate_node
(self, node)
ogbn-mag/pyHGT/data.py:66
Methodupdate_node
(self, node)
pyHGT/data.py:66
← previous101–132 of 132, ranked by callers