MCPcopy Create free account

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

Functions303 in github.com/GATECH-EIC/GCoD

↓ 147 callersMethodto
(self, *args, **kwargs)
sampler.py:27
↓ 34 callersMethodto
(self, *args, **kwargs)
models/sampler.py:27
↓ 27 callersFunctionquantize
(x, num_bits=None, qparams=None, flatten_dims=_DEFAULT_FLATTEN, reduce_dim=0, dequantize=True, signed=False, s
models/quantize.py:140
↓ 16 callersFunctioncalculate_qparams
(x, num_bits, flatten_dims=_DEFAULT_FLATTEN, reduce_dim=0, reduce_type='mean', keepdim=False, true_zero=False
models/quantize.py:19
↓ 12 callersMethodbackward
(ctx, grad_output)
models/quantize.py:87
↓ 10 callersMethodreset_parameters
(self)
network.py:156
↓ 8 callersFunctionquantize_grad
(x, num_bits=None, qparams=None, flatten_dims=_DEFAULT_FLATTEN_GRAD, reduce_dim=0, dequantize=True, signed=Fal
models/quantize.py:151
↓ 6 callersFunctiontest
(model, data, x, y, batch_size=64)
tune_sage.py:613
↓ 6 callersFunctiontest
(model, data)
tune.py:680
↓ 5 callersMethodinference
(self, x_all, batch_size, device='cpu', return_time=False)
network.py:826
↓ 5 callersFunctionmy_get_boundary
(n_subgraphs, class_graphs, groups)
get_boundary.py:3
↓ 5 callersFunctiontest
(model, data)
SGCN/pytorch_train.py:78
↓ 4 callersMethod__init__
(self, dataset, data, args, adj=(), device='cpu', quant=False, num_act_bits=None, num_wei_bits=None, num_agg_b
network.py:88
↓ 4 callersMethod__init__
(self, dataset, data, args, adj=(), device='cpu', quant=False, num_act_bits=None, num_wei_bits=None, num_agg_b
models/network.py:88
↓ 4 callersMethod__init__
(self, in_channels, out_channels, kernel_size, stride=1, padding=0, dilation=1, groups=1, bia
models/quantize.py:211
↓ 4 callersFunction_deflatten_as
(x, x_full)
models/quantize.py:14
↓ 4 callersFunctionplot_bd
(ax, bd, adj_size, color)
plot_adj.py:32
↓ 4 callersFunctionprune_adj
(oriadj, non_zero_idx:int, percent:int)
tune_sage.py:155
↓ 4 callersFunctionprune_adj
(oriadj, non_zero_idx:int, percent:int)
tune.py:182
↓ 4 callersFunctionprune_adj
(oriadj:torch.Tensor, non_zero_idx:int, percent:int)
SGCN/pytorch_tune.py:105
↓ 4 callersMethodreset_parameters
(self)
models/network.py:156
↓ 3 callersFunctioncount_subgraph_nnz
(edge_index, n_subgraphs)
tune_sage.py:287
↓ 3 callersFunctioncount_subgraph_nnz
(edge_index, n_subgraphs)
tune.py:314
↓ 3 callersFunctionmy_partition_graph
(data, degree_split, tot_subgraphs, tot_groups, dataset='CiteSeer', remove_self_loop=True)
get_partition.py:12
↓ 3 callersFunctionmy_partition_graph
(degree_split, tot_subgraphs, tot_groups, dataset='CiteSeer')
get_reddit_partition.py:13
↓ 3 callersFunctionsample_mask
Create mask.
utils.py:18
↓ 3 callersFunctionsample_mask
Create mask.
models/utils.py:18
↓ 3 callersFunctionsample_mask
Create mask.
SGCN/utils.py:18
↓ 2 callersFunction_reset
(item)
models/gin_conv.py:16
↓ 2 callersFunctionadj_to_edge
(adj:torch.Tensor)
SGCN/pytorch_train.py:35
↓ 2 callersFunctioncount_group_nnz
(adj, adj_size, group)
tune_sage.py:215
↓ 2 callersFunctioncount_group_nnz
(adj, adj_size, group)
tune.py:242
↓ 2 callersFunctiongcn_norm
(edge_index, edge_weight=None, num_nodes=None, improved=False, add_self_loops=True, dtype=None)
models/gcn_conv.py:19
↓ 2 callersFunctiongcn_norm
(edge_index, edge_weight=None, num_nodes=None, improved=False, add_self_loops=True, dtype=None)
models/gin_conv.py:27
↓ 2 callersFunctionget_dataset
(name, sparse=True, cleaned=False)
datasets.py:21
↓ 2 callersMethodget_mean_act_bits
(self)
network.py:160
↓ 2 callersMethodget_mean_agg_bits
(self)
network.py:169
↓ 2 callersMethodget_node_indices
(self)
sampler.py:174
↓ 2 callersMethodget_node_indices
(self)
models/sampler.py:174
↓ 2 callersFunctionget_parameters_2_3_12
(model, dataset)
plot_adj.py:138
↓ 2 callersFunctionidentify_group
(row, col, idx_list)
tune_sage.py:227
↓ 2 callersFunctionidentify_group
(row, col, idx_list)
tune.py:254
↓ 2 callersFunctionmain_infer
(dataset, data, device, model=None)
train.py:243
↓ 2 callersFunctionmain_infer
(dataset, data, device, model=None)
train_reddit.py:224
↓ 2 callersFunctionmain_infer
(device, model=None)
train_sage_reddit.py:167
↓ 2 callersFunctionmain_infer
(dataset, data, device, model=None)
train_sage.py:204
↓ 2 callersFunctionmySaveFig
(pltm,fntmp,fp=0,isax=0,iseps=0,isShowPic=0)
plot_adj.py:13
↓ 2 callersFunctionmy_get_bd
(n_group, n_class, bd1)
get_boundary.py:25
↓ 2 callersFunctionreset
(nn)
models/gin_conv.py:15
↓ 2 callersMethodreset_parameters
(self)
models/gin_conv.py:123
↓ 2 callersFunctionretrain
(model, data, epoch, optimizer, x, y)
tune_sage.py:573
↓ 2 callersFunctionretrain
(model, optimizer, data)
tune.py:661
↓ 2 callersFunctionsave_adj
(data, save_name)
get_partition.py:171
↓ 2 callersFunctionsparse_to_tuple
Convert sparse matrix to tuple representation.
utils.py:94
↓ 2 callersFunctionsparse_to_tuple
Convert sparse matrix to tuple representation.
models/utils.py:94
↓ 2 callersFunctionsparse_to_tuple
Convert sparse matrix to tuple representation.
SGCN/utils.py:94
↓ 2 callersFunctionto_tuple
(mx)
utils.py:96
↓ 2 callersFunctionto_tuple
(mx)
models/utils.py:96
↓ 2 callersFunctionto_tuple
(mx)
SGCN/utils.py:96
↓ 2 callersFunctionvisualize_adj
(adj, save_path, save_name)
SGCN/pytorch_tune.py:47
↓ 1 callersMethod__init__
(self, edge_index: Union[Tensor, SparseTensor], sizes: List[int], node_idx: Optional[Tensor]
sampler.py:100
↓ 1 callersMethod__init__
(self, in_channels: Union[int, Tuple[int, int]], out_channels: int, heads: int = 1, concat: b
models/gat_conv.py:101
↓ 1 callersMethod__init__
(self, in_channels: Union[int, Tuple[int, int]], out_channels: int, normalize: bool = False,
models/sage_conv.py:99
↓ 1 callersMethod__init__
(self, nn: Callable, eps: float = 0.1, train_eps: bool = False, chunk_q: bool = False, **kwar
models/gin_conv.py:92
↓ 1 callersMethod__init__
(self, edge_index: Union[Tensor, SparseTensor], sizes: List[int], node_idx: Optional[Tensor]
models/sampler.py:100
↓ 1 callersFunctionchebyshev_recurrence
(t_k_minus_one, t_k_minus_two, scaled_lap)
utils.py:162
↓ 1 callersFunctionchebyshev_recurrence
(t_k_minus_one, t_k_minus_two, scaled_lap)
models/utils.py:162
↓ 1 callersFunctionchebyshev_recurrence
(t_k_minus_one, t_k_minus_two, scaled_lap)
SGCN/utils.py:162
↓ 1 callersMethodconv2d_quant_act
(self, input_fw, input_bw, weight, bias=None, stride=1, padding=0, dilation=1, groups=1, error_bits=0, gc_bits
models/quantize.py:292
↓ 1 callersFunctioncount_subgraph_nnz
(edge_index, n_subgraphs)
print_subgraph_nnz.py:63
↓ 1 callersFunctionedge_to_adj
(edge_index, edge_attr=None,num_nodes=None)
SGCN/pytorch_train.py:21
↓ 1 callersMethodget_chunk_quant_bits
(self)
network.py:178
↓ 1 callersMethodget_chunk_quant_bits
(self)
network.py:343
↓ 1 callersMethodget_chunk_quant_bits
(self)
network.py:547
↓ 1 callersMethodget_chunk_quant_bits
(self)
network.py:722
↓ 1 callersMethodget_chunk_quant_bits
(self)
models/network.py:178
↓ 1 callersMethodget_chunk_quant_bits
(self)
models/network.py:345
↓ 1 callersMethodget_chunk_quant_bits
(self)
models/network.py:548
↓ 1 callersMethodget_chunk_quant_bits
(self)
models/network.py:721
↓ 1 callersFunctionget_conv_zero_param
(model)
SGCN/pytorch_retrain_with_graph.py:41
↓ 1 callersFunctionidentify_group
(row, col, idx_list)
print_subgraph_nnz.py:47
↓ 1 callersFunctioninference
(model, data)
train.py:312
↓ 1 callersFunctioninference
(model, data)
train_reddit.py:293
↓ 1 callersFunctioninference
(model, x, y, batch_size)
train_sage_reddit.py:262
↓ 1 callersFunctioninference
(model, x, y, batch_size)
train_sage.py:302
↓ 1 callersFunctionmain_hardgroup
(data, model, device)
tune_sage.py:490
↓ 1 callersFunctionmain_hardgroup
(data, model, device)
tune.py:555
↓ 1 callersFunctionmain_train
(dataset, data, device)
train.py:83
↓ 1 callersFunctionmain_train
(device)
train_reddit.py:81
↓ 1 callersFunctionmain_train
(device)
train_sage_reddit.py:65
↓ 1 callersFunctionmain_train
(dataset, data, device)
train_sage.py:79
↓ 1 callersFunctionmain_tune
(data, model, device, iteration=0)
tune_sage.py:324
↓ 1 callersFunctionmain_tune
(data, model, device, iteration=0)
tune.py:351
↓ 1 callersFunctionnormalize_adj
Symmetrically normalize adjacency matrix.
utils.py:123
↓ 1 callersFunctionnormalize_adj
Symmetrically normalize adjacency matrix.
models/utils.py:123
↓ 1 callersFunctionnormalize_adj
Symmetrically normalize adjacency matrix.
SGCN/utils.py:123
↓ 1 callersFunctionparse_index_file
Parse index file.
utils.py:10
↓ 1 callersFunctionparse_index_file
Parse index file.
models/utils.py:10
↓ 1 callersFunctionparse_index_file
Parse index file.
SGCN/utils.py:10
↓ 1 callersFunctionplot_hard_optimzed_adj
(checkpoint, bd, n_class, n_groups)
plot_adj.py:79
next →1–100 of 303, ranked by callers