Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GATECH-EIC/GCoD
/ functions
Functions
303 in github.com/GATECH-EIC/GCoD
⨍
Functions
303
◇
Types & classes
42
Method
forward
(self, input, num_act_bits=None, num_wei_bits=None, act_quant_bits=None, n_classes=None)
models/network.py:38
Method
forward
(self, return_time=False)
models/network.py:240
Method
forward
(self, return_time=False)
models/network.py:407
Method
forward
(self, return_time=False)
models/network.py:610
Method
forward
(self, x, adjs, n_id)
models/network.py:784
Method
forward
(self, input, num_act_bits=None, num_wei_bits=None, act_quant_bits=None, n_classes=None)
models/sage_conv.py:48
Method
forward
(self, x: Union[Tensor, OptPairTensor], edge_index: Adj, target_id=None, edge_weight: OptTenso
models/sage_conv.py:141
Method
forward
r""" Args: return_attention_weights (bool, optional): If set to :obj:`True`, will additionally return the tuple
models/global_gat_conv.py:109
Method
forward
(self, x: Tensor, edge_index: Adj, edge_weight: OptTensor = None, quant=False, num_act_bits=No
models/gcn_conv.py:152
Method
forward
(ctx, input, num_bits=None, qparams=None, flatten_dims=_DEFAULT_FLATTEN, reduce_dim=0, dequant
models/quantize.py:45
Method
forward
(ctx, input, num_bits=None, qparams=None, flatten_dims=_DEFAULT_FLATTEN_GRAD, reduce_dim=0, de
models/quantize.py:96
Method
forward
(self, input, num_bits, qparams=None)
models/quantize.py:178
Method
forward
(self, input, num_bits, num_grad_bits)
models/quantize.py:227
Method
forward
(self, input, num_bits, num_bits_grad)
models/quantize.py:313
Method
forward
(self, x, num_bits, num_grad_bits)
models/quantize.py:362
Method
forward
(self, x: Union[Tensor, OptPairTensor], edge_index: Adj, quant=True, num_act_bits=None, num_we
models/gin_conv.py:127
Method
forward
(self, x: Union[Tensor, OptPairTensor], edge_index: Adj, edge_attr: OptTensor = None, size: Si
models/gin_conv.py:261
Method
forward
(self)
SGCN/pytorch_train.py:60
Function
get_mask
(oriadj, non_zero_idx:int, percent:int)
tune_sage.py:182
Function
get_mask
(oriadj, non_zero_idx:int, percent:int)
tune.py:209
Method
get_mean_act_bits
(self)
network.py:325
Method
get_mean_act_bits
(self)
network.py:529
Method
get_mean_act_bits
(self)
network.py:704
Method
get_mean_act_bits
(self)
models/network.py:160
Method
get_mean_act_bits
(self)
models/network.py:327
Method
get_mean_act_bits
(self)
models/network.py:530
Method
get_mean_act_bits
(self)
models/network.py:703
Method
get_mean_agg_bits
(self)
network.py:334
Method
get_mean_agg_bits
(self)
network.py:538
Method
get_mean_agg_bits
(self)
network.py:713
Method
get_mean_agg_bits
(self)
models/network.py:169
Method
get_mean_agg_bits
(self)
models/network.py:336
Method
get_mean_agg_bits
(self)
models/network.py:539
Method
get_mean_agg_bits
(self)
models/network.py:712
Function
get_parameters_2_3_10
(model, dataset)
plot_adj.py:101
Method
inference
(self, x_all, batch_size, device='cpu', return_time=False)
models/network.py:825
Function
initialize
(adj)
utils.py:280
Function
initialize
(adj)
models/utils.py:280
Function
initialize
(adj)
SGCN/utils.py:280
Function
initialize_uninitialized_global_variables
(sess)
utils.py:306
Function
initialize_uninitialized_global_variables
(sess)
models/utils.py:306
Function
initialize_uninitialized_global_variables
(sess)
SGCN/utils.py:306
Function
isequal
(adj1, adj2)
utils.py:296
Function
isequal
(adj1, adj2)
models/utils.py:296
Function
isequal
(adj1, adj2)
SGCN/utils.py:296
Function
linear_biprec
(input, weight, bias=None, num_bits_grad=None)
models/quantize.py:132
Function
load_data
Loads input data from gcn_config/data directory ind.dataset_str.x => the feature vectors of the training instances as scipy.sparse.csr.csr_m
utils.py:25
Function
load_data
Loads input data from gcn_config/data directory ind.dataset_str.x => the feature vectors of the training instances as scipy.sparse.csr.csr_m
models/utils.py:25
Function
load_data
Loads input data from gcn_config/data directory ind.dataset_str.x => the feature vectors of the training instances as scipy.sparse.csr.csr_m
SGCN/utils.py:25
Method
message
(self, x_j: Tensor, alpha_j: Tensor, alpha_i: OptTensor, index: Tensor, ptr: OptTensor,
models/gat_conv.py:325
Method
message
(self, x_j: Tensor)
models/sage_conv.py:208
Method
message
(self, x_j: Tensor, alpha_j: Tensor, alpha_i: OptTensor, index: Tensor, ptr: OptTensor,
models/global_gat_conv.py:228
Method
message
(self, x_j: Tensor, edge_weight: OptTensor)
models/gcn_conv.py:256
Method
message
(self, x_j: Tensor)
models/gin_conv.py:206
Method
message
(self, x_j: Tensor, edge_attr: Tensor)
models/gin_conv.py:283
Method
message_and_aggregate
(self, adj_t: SparseTensor, x: OptPairTensor)
models/sage_conv.py:211
Method
message_and_aggregate
(self, adj_t: SparseTensor, x: Tensor)
models/gcn_conv.py:266
Method
message_and_aggregate
(self, adj_t: SparseTensor, x: OptPairTensor)
models/gin_conv.py:211
Function
partial_mask
(adj)
utils.py:172
Function
partial_mask
(adj)
models/utils.py:172
Function
partial_mask
(adj)
SGCN/utils.py:172
Function
preprocess_adj
Preprocessing of adjacency matrix for simple pytorch_gcn model and conversion to tuple representation.
utils.py:133
Function
preprocess_adj
Preprocessing of adjacency matrix for simple pytorch_gcn model and conversion to tuple representation.
models/utils.py:133
Function
preprocess_adj
Preprocessing of adjacency matrix for simple pytorch_gcn model and conversion to tuple representation.
SGCN/utils.py:133
Function
preprocess_features
Row-normalize feature matrix and convert to tuple representation
utils.py:113
Function
preprocess_features
Row-normalize feature matrix and convert to tuple representation
models/utils.py:113
Function
preprocess_features
Row-normalize feature matrix and convert to tuple representation
SGCN/utils.py:113
Function
prune_adj
(oriadj, non_zero_idx, mask, percent)
utils.py:233
Function
prune_adj
(oriadj, non_zero_idx, mask, percent)
models/utils.py:233
Function
prune_adj
(oriadj, non_zero_idx, mask, percent)
SGCN/utils.py:233
Function
prune_adj1
(adj, percent=10)
utils.py:224
Function
prune_adj1
(adj, percent=10)
models/utils.py:224
Function
prune_adj1
(adj, percent=10)
SGCN/utils.py:224
Function
prune_adj2
(oriadj, non_zero_idx, percent)
utils.py:252
Function
prune_adj2
(oriadj, non_zero_idx, percent)
models/utils.py:252
Function
prune_adj2
(oriadj, non_zero_idx, percent)
SGCN/utils.py:252
Function
remove_boundary_nodes_among_groups
(edge_index, adj_size, n_groups, adj=None)
tune_sage.py:243
Function
remove_boundary_nodes_among_groups
(edge_index, adj_size, n_groups, adj=None)
tune.py:270
Function
remove_file
(path)
utils.py:320
Function
remove_file
(path)
models/utils.py:320
Function
remove_file
(path)
SGCN/utils.py:320
Method
reset_parameters
(self)
network.py:321
Method
reset_parameters
(self)
network.py:523
Method
reset_parameters
(self)
models/network.py:323
Method
reset_parameters
(self)
models/network.py:524
Method
sample
(self, batch)
sampler.py:136
Method
sample
(self, batch)
models/sampler.py:136
Function
save_adj
(data, save_name)
get_reddit_partition.py:166
Function
testsymmetry
(adj)
utils.py:291
Function
testsymmetry
(adj)
models/utils.py:291
Function
testsymmetry
(adj)
SGCN/utils.py:291
Method
to
(self, *args, **kwargs)
sampler.py:16
Method
to
(self, *args, **kwargs)
models/sampler.py:16
Function
train
(model, optimizer, data)
tune.py:653
Function
update_gradients_adj
(grads_vars, adj_p_mask)
utils.py:193
Function
update_gradients_adj
(grads_vars, adj_p_mask)
models/utils.py:193
Function
update_gradients_adj
(grads_vars, adj_p_mask)
SGCN/utils.py:193
Function
update_gradients_w
(grads_vars, adj_all_mask)
utils.py:183
Function
update_gradients_w
(grads_vars, adj_all_mask)
models/utils.py:183
Function
update_gradients_w
(grads_vars, adj_all_mask)
SGCN/utils.py:183
← previous
next →
201–300 of 303, ranked by callers