MCPcopy Create free account

hub / github.com/dfdazac/dgi / functions

Functions61 in github.com/dfdazac/dgi

↓ 5 callersFunctiondot
Wrapper for tf.matmul (sparse vs dense).
gcn/layers.py:30
↓ 4 callersMethod__init__
(self, **kwargs)
gcn/layers.py:54
↓ 4 callersMethodbuild
Wrapper for _build()
gcn/models.py:195
↓ 4 callersMethodload
(self, sess=None)
gcn/models.py:76
↓ 4 callersFunctionpreprocess_adj
Preprocessing of adjacency matrix for simple GCN model and conversion to tuple representation.
gcn/utils.py:140
↓ 3 callersMethod__init__
(self, placeholders, input_dim, **kwargs)
gcn/models.py:86
↓ 3 callersMethod_log_vars
(self)
gcn/layers.py:80
↓ 3 callersFunctionglorot
Glorot & Bengio (AISTATS 2010) init.
gcn/inits.py:11
↓ 3 callersFunctionmasked_accuracy
Accuracy with masking.
gcn/metrics.py:13
↓ 3 callersFunctionmasked_softmax_cross_entropy
Softmax cross-entropy loss with masking.
gcn/metrics.py:4
↓ 3 callersFunctionsample_mask
Create mask.
gcn/utils.py:17
↓ 3 callersFunctionsparse_dropout
Dropout for sparse tensors.
gcn/layers.py:21
↓ 3 callersFunctionsparse_to_tuple
Convert sparse matrix to tuple representation.
gcn/utils.py:101
↓ 3 callersFunctionzeros
All zeros.
gcn/inits.py:18
↓ 2 callersFunctionconstruct_feed_dict
Construct feed dictionary.
gcn/utils.py:146
↓ 2 callersFunctionevaluate
(features, support, labels, mask, placeholders)
gcn/train.py:88
↓ 2 callersFunctionnormalize_adj
Symmetrically normalize adjacency matrix.
gcn/utils.py:130
↓ 2 callersFunctionto_tuple
(mx)
gcn/utils.py:103
↓ 1 callersMethod_accuracy
(self)
gcn/models.py:66
↓ 1 callersMethod_accuracy
(self)
gcn/models.py:236
↓ 1 callersMethod_build
(self)
gcn/models.py:35
↓ 1 callersMethod_call
(self, inputs)
gcn/layers.py:68
↓ 1 callersMethod_loss
(self)
gcn/models.py:63
↓ 1 callersMethod_loss
(self)
gcn/models.py:229
↓ 1 callersFunctionchebyshev_polynomials
Calculate Chebyshev polynomials up to order k. Return a list of sparse matrices (tuple representation).
gcn/utils.py:169
↓ 1 callersFunctionchebyshev_recurrence
(t_k_minus_one, t_k_minus_two, scaled_lap)
gcn/utils.py:182
↓ 1 callersFunctionget_layer_uid
Helper function, assigns unique layer IDs.
gcn/layers.py:11
↓ 1 callersFunctionload_data
Loads input data from gcn/data directory ind.dataset_str.x => the feature vectors of the training instances as scipy.sparse.csr.csr_matrix o
gcn/utils.py:24
↓ 1 callersFunctionload_embeddings
(embeddings_path)
gcn/utils.py:92
↓ 1 callersFunctionparse_index_file
Parse index file.
gcn/utils.py:9
↓ 1 callersFunctionpreprocess_features
Row-normalize feature matrix and convert to tuple representation
gcn/utils.py:120
Method__call__
(self, inputs)
gcn/layers.py:71
Method__init__
(self, input_dim, output_dim, placeholders, dropout=0., sparse_inputs=False, act=tf.nn.relu,
gcn/layers.py:87
Method__init__
(self, input_dim, output_dim, placeholders, dropout=0., sparse_inputs=False, act=tf.nn.relu,
gcn/layers.py:134
Method__init__
(self, input_dim, placeholders, dropout=0., sparse_inputs=False, act=tf.nn.sigmoid, bias=Fals
gcn/layers.py:192
Method__init__
(self, **kwargs)
gcn/layers.py:238
Method__init__
(self, **kwargs)
gcn/models.py:9
Method__init__
(self, placeholders, input_dim, **kwargs)
gcn/models.py:133
Method__init__
(self, placeholders, input_dim, **kwargs)
gcn/models.py:181
Method__init__
(self, placeholders, input_dim, **kwargs)
gcn/models.py:242
Method_accuracy
(self)
gcn/models.py:108
Method_accuracy
(self)
gcn/models.py:155
Method_accuracy
(self)
gcn/models.py:264
Method_build
(self)
gcn/models.py:112
Method_build
(self)
gcn/models.py:159
Method_build
(self)
gcn/models.py:268
Method_call
(self, inputs)
gcn/layers.py:113
Method_call
(self, inputs)
gcn/layers.py:163
Method_call
(self, inputs)
gcn/layers.py:218
Method_call
(self, inputs)
gcn/layers.py:241
Method_loss
(self)
gcn/models.py:99
Method_loss
(self)
gcn/models.py:146
Method_loss
(self)
gcn/models.py:255
Methodbuild
Wrapper for _build()
gcn/models.py:38
Functionones
All ones.
gcn/inits.py:24
Methodpredict
(self)
gcn/models.py:60
Methodpredict
(self)
gcn/models.py:128
Methodpredict
(self)
gcn/models.py:176
Methodpredict
(self)
gcn/models.py:276
Methodsave
(self, sess=None)
gcn/models.py:69
Functionuniform
Uniform init.
gcn/inits.py:5