Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GGA23/GrokFormer
/ functions
Functions
25 in github.com/GGA23/GrokFormer
⨍
Functions
25
◇
Types & classes
4
↓ 4 callers
Function
feature_normalize
(x)
preprocess_node_data.py:92
↓ 3 callers
Method
__init__
(self, nclass, nfeat, nlayer=1, hidden_dim=128, dim=32, nheads=1, k=10, tran_dropout=0.0, fea
model.py:90
↓ 3 callers
Function
eig_dgl_adj_sparse
(g, sm=0, lm=0)
preprocess_node_data.py:134
↓ 3 callers
Function
eigen_decompositon
The normalized (unit “length”) eigenvectors,
preprocess_node_data.py:71
↓ 2 callers
Function
normalize_graph
(g)
preprocess_node_data.py:59
↓ 1 callers
Function
generate_node_data
(dataset)
preprocess_node_data.py:190
↓ 1 callers
Function
get_split
(dataset, y, nclass, seed=0)
utils.py:35
↓ 1 callers
Function
load_data
(dataset_str)
preprocess_node_data.py:99
↓ 1 callers
Function
load_fb100_dataset
()
preprocess_node_data.py:164
↓ 1 callers
Function
main_worker
(args)
train.py:17
↓ 1 callers
Function
parse_index_file
Parse index file.
preprocess_node_data.py:84
↓ 1 callers
Function
seed_everything
(seed)
utils.py:24
↓ 1 callers
Function
set_seed
(seed)
train.py:120
↓ 1 callers
Method
transformer_encoder
(self, h, h_fur)
model.py:132
Method
__init__
(self, k, hidden_dim=128)
model.py:13
Method
__init__
(self, input_dim, hidden_dim, output_dim)
model.py:37
Method
__init__
(self, hidden_size, num_heads, attention_dropout_rate)
model.py:51
Function
count_parameters
(model)
utils.py:13
Function
eigen_decompositon2
The normalized (unit “length”) eigenvectors,
preprocess_node_data.py:78
Method
forward
(self, e)
model.py:20
Method
forward
(self, x)
model.py:43
Method
forward
(self, q, k, v, attn_bias=None)
model.py:67
Method
forward
(self, e, u, x)
model.py:142
Function
generate_signal_data
()
preprocess_node_data.py:21
Function
init_params
(module)
utils.py:17