MCPcopy Create free account

hub / github.com/GATECH-EIC/GCoD / functions

Functions303 in github.com/GATECH-EIC/GCoD

Methodforward
(self, input, num_act_bits=None, num_wei_bits=None, act_quant_bits=None, n_classes=None)
models/network.py:38
Methodforward
(self, return_time=False)
models/network.py:240
Methodforward
(self, return_time=False)
models/network.py:407
Methodforward
(self, return_time=False)
models/network.py:610
Methodforward
(self, x, adjs, n_id)
models/network.py:784
Methodforward
(self, input, num_act_bits=None, num_wei_bits=None, act_quant_bits=None, n_classes=None)
models/sage_conv.py:48
Methodforward
(self, x: Union[Tensor, OptPairTensor], edge_index: Adj, target_id=None, edge_weight: OptTenso
models/sage_conv.py:141
Methodforward
r""" Args: return_attention_weights (bool, optional): If set to :obj:`True`, will additionally return the tuple
models/global_gat_conv.py:109
Methodforward
(self, x: Tensor, edge_index: Adj, edge_weight: OptTensor = None, quant=False, num_act_bits=No
models/gcn_conv.py:152
Methodforward
(ctx, input, num_bits=None, qparams=None, flatten_dims=_DEFAULT_FLATTEN, reduce_dim=0, dequant
models/quantize.py:45
Methodforward
(ctx, input, num_bits=None, qparams=None, flatten_dims=_DEFAULT_FLATTEN_GRAD, reduce_dim=0, de
models/quantize.py:96
Methodforward
(self, input, num_bits, qparams=None)
models/quantize.py:178
Methodforward
(self, input, num_bits, num_grad_bits)
models/quantize.py:227
Methodforward
(self, input, num_bits, num_bits_grad)
models/quantize.py:313
Methodforward
(self, x, num_bits, num_grad_bits)
models/quantize.py:362
Methodforward
(self, x: Union[Tensor, OptPairTensor], edge_index: Adj, quant=True, num_act_bits=None, num_we
models/gin_conv.py:127
Methodforward
(self, x: Union[Tensor, OptPairTensor], edge_index: Adj, edge_attr: OptTensor = None, size: Si
models/gin_conv.py:261
Methodforward
(self)
SGCN/pytorch_train.py:60
Functionget_mask
(oriadj, non_zero_idx:int, percent:int)
tune_sage.py:182
Functionget_mask
(oriadj, non_zero_idx:int, percent:int)
tune.py:209
Methodget_mean_act_bits
(self)
network.py:325
Methodget_mean_act_bits
(self)
network.py:529
Methodget_mean_act_bits
(self)
network.py:704
Methodget_mean_act_bits
(self)
models/network.py:160
Methodget_mean_act_bits
(self)
models/network.py:327
Methodget_mean_act_bits
(self)
models/network.py:530
Methodget_mean_act_bits
(self)
models/network.py:703
Methodget_mean_agg_bits
(self)
network.py:334
Methodget_mean_agg_bits
(self)
network.py:538
Methodget_mean_agg_bits
(self)
network.py:713
Methodget_mean_agg_bits
(self)
models/network.py:169
Methodget_mean_agg_bits
(self)
models/network.py:336
Methodget_mean_agg_bits
(self)
models/network.py:539
Methodget_mean_agg_bits
(self)
models/network.py:712
Functionget_parameters_2_3_10
(model, dataset)
plot_adj.py:101
Methodinference
(self, x_all, batch_size, device='cpu', return_time=False)
models/network.py:825
Functioninitialize
(adj)
utils.py:280
Functioninitialize
(adj)
models/utils.py:280
Functioninitialize
(adj)
SGCN/utils.py:280
Functioninitialize_uninitialized_global_variables
(sess)
utils.py:306
Functioninitialize_uninitialized_global_variables
(sess)
models/utils.py:306
Functioninitialize_uninitialized_global_variables
(sess)
SGCN/utils.py:306
Functionisequal
(adj1, adj2)
utils.py:296
Functionisequal
(adj1, adj2)
models/utils.py:296
Functionisequal
(adj1, adj2)
SGCN/utils.py:296
Functionlinear_biprec
(input, weight, bias=None, num_bits_grad=None)
models/quantize.py:132
Functionload_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
Functionload_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
Functionload_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
Methodmessage
(self, x_j: Tensor, alpha_j: Tensor, alpha_i: OptTensor, index: Tensor, ptr: OptTensor,
models/gat_conv.py:325
Methodmessage
(self, x_j: Tensor)
models/sage_conv.py:208
Methodmessage
(self, x_j: Tensor, alpha_j: Tensor, alpha_i: OptTensor, index: Tensor, ptr: OptTensor,
models/global_gat_conv.py:228
Methodmessage
(self, x_j: Tensor, edge_weight: OptTensor)
models/gcn_conv.py:256
Methodmessage
(self, x_j: Tensor)
models/gin_conv.py:206
Methodmessage
(self, x_j: Tensor, edge_attr: Tensor)
models/gin_conv.py:283
Methodmessage_and_aggregate
(self, adj_t: SparseTensor, x: OptPairTensor)
models/sage_conv.py:211
Methodmessage_and_aggregate
(self, adj_t: SparseTensor, x: Tensor)
models/gcn_conv.py:266
Methodmessage_and_aggregate
(self, adj_t: SparseTensor, x: OptPairTensor)
models/gin_conv.py:211
Functionpartial_mask
(adj)
utils.py:172
Functionpartial_mask
(adj)
models/utils.py:172
Functionpartial_mask
(adj)
SGCN/utils.py:172
Functionpreprocess_adj
Preprocessing of adjacency matrix for simple pytorch_gcn model and conversion to tuple representation.
utils.py:133
Functionpreprocess_adj
Preprocessing of adjacency matrix for simple pytorch_gcn model and conversion to tuple representation.
models/utils.py:133
Functionpreprocess_adj
Preprocessing of adjacency matrix for simple pytorch_gcn model and conversion to tuple representation.
SGCN/utils.py:133
Functionpreprocess_features
Row-normalize feature matrix and convert to tuple representation
utils.py:113
Functionpreprocess_features
Row-normalize feature matrix and convert to tuple representation
models/utils.py:113
Functionpreprocess_features
Row-normalize feature matrix and convert to tuple representation
SGCN/utils.py:113
Functionprune_adj
(oriadj, non_zero_idx, mask, percent)
utils.py:233
Functionprune_adj
(oriadj, non_zero_idx, mask, percent)
models/utils.py:233
Functionprune_adj
(oriadj, non_zero_idx, mask, percent)
SGCN/utils.py:233
Functionprune_adj1
(adj, percent=10)
utils.py:224
Functionprune_adj1
(adj, percent=10)
models/utils.py:224
Functionprune_adj1
(adj, percent=10)
SGCN/utils.py:224
Functionprune_adj2
(oriadj, non_zero_idx, percent)
utils.py:252
Functionprune_adj2
(oriadj, non_zero_idx, percent)
models/utils.py:252
Functionprune_adj2
(oriadj, non_zero_idx, percent)
SGCN/utils.py:252
Functionremove_boundary_nodes_among_groups
(edge_index, adj_size, n_groups, adj=None)
tune_sage.py:243
Functionremove_boundary_nodes_among_groups
(edge_index, adj_size, n_groups, adj=None)
tune.py:270
Functionremove_file
(path)
utils.py:320
Functionremove_file
(path)
models/utils.py:320
Functionremove_file
(path)
SGCN/utils.py:320
Methodreset_parameters
(self)
network.py:321
Methodreset_parameters
(self)
network.py:523
Methodreset_parameters
(self)
models/network.py:323
Methodreset_parameters
(self)
models/network.py:524
Methodsample
(self, batch)
sampler.py:136
Methodsample
(self, batch)
models/sampler.py:136
Functionsave_adj
(data, save_name)
get_reddit_partition.py:166
Functiontestsymmetry
(adj)
utils.py:291
Functiontestsymmetry
(adj)
models/utils.py:291
Functiontestsymmetry
(adj)
SGCN/utils.py:291
Methodto
(self, *args, **kwargs)
sampler.py:16
Methodto
(self, *args, **kwargs)
models/sampler.py:16
Functiontrain
(model, optimizer, data)
tune.py:653
Functionupdate_gradients_adj
(grads_vars, adj_p_mask)
utils.py:193
Functionupdate_gradients_adj
(grads_vars, adj_p_mask)
models/utils.py:193
Functionupdate_gradients_adj
(grads_vars, adj_p_mask)
SGCN/utils.py:193
Functionupdate_gradients_w
(grads_vars, adj_all_mask)
utils.py:183
Functionupdate_gradients_w
(grads_vars, adj_all_mask)
models/utils.py:183
Functionupdate_gradients_w
(grads_vars, adj_all_mask)
SGCN/utils.py:183
← previousnext →201–300 of 303, ranked by callers