Construct feed dictionary.
(features, support, labels, labels_mask, placeholders)
| 136 | |
| 137 | |
| 138 | def construct_feed_dict(features, support, labels, labels_mask, placeholders): |
| 139 | """Construct feed dictionary.""" |
| 140 | feed_dict = dict() |
| 141 | feed_dict.update({placeholders['labels']: labels}) |
| 142 | feed_dict.update({placeholders['labels_mask']: labels_mask}) |
| 143 | feed_dict.update({placeholders['features']: features}) |
| 144 | feed_dict.update({placeholders['support'][i]: support[i] for i in range(len(support))}) |
| 145 | feed_dict.update({placeholders['num_features_nonzero']: features[1].shape}) |
| 146 | return feed_dict |
| 147 | |
| 148 | |
| 149 | def chebyshev_polynomials(adj, k): |