Fetch binary features of edges. Args: edges: A 2-d `Tensor` of `int64`, with shape `[num_edges, 3]`. feature_names: A list of `int`. Specify uint64 feature ids in graph to fetch features for nodes. Return: A list of `String Tensor` with the same length as `fe
(edges, feature_names, thread_num=1)
| 172 | |
| 173 | |
| 174 | def get_edge_binary_feature(edges, feature_names, thread_num=1): |
| 175 | """ |
| 176 | Fetch binary features of edges. |
| 177 | |
| 178 | Args: |
| 179 | edges: A 2-d `Tensor` of `int64`, with shape `[num_edges, 3]`. |
| 180 | feature_names: A list of `int`. Specify uint64 feature ids in graph to |
| 181 | fetch features for nodes. |
| 182 | |
| 183 | Return: |
| 184 | A list of `String Tensor` with the same length as `feature_names`. |
| 185 | """ |
| 186 | return _get_binary_feature(edges, feature_names, |
| 187 | base._LIB_OP.get_edge_binary_feature, |
| 188 | thread_num) |
nothing calls this directly
no test coverage detected