(self, node_id, weight, node_type, gmeta)
| 19 | |
| 20 | class Node(object): |
| 21 | def __init__(self, node_id, weight, node_type, gmeta): |
| 22 | self.id = node_id |
| 23 | self.weight = weight |
| 24 | self.type = node_type |
| 25 | self.dense = [] |
| 26 | self.sparse = [] |
| 27 | self.binary = [] |
| 28 | self.neighbor = [] |
| 29 | self.in_neighbor = [] |
| 30 | self.preprocess_feature_idx(gmeta) |
| 31 | |
| 32 | def preprocess_feature_idx(self, gmeta): |
| 33 | expend_list(self.dense, gmeta.node_feature_maxnum['dense']) |
nothing calls this directly
no test coverage detected