MCPcopy Create free account
hub / github.com/alibaba/euler / get_edge_binary_feature

Function get_edge_binary_feature

tf_euler/python/euler_ops/feature_ops.py:174–188  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

172
173
174def 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)

Callers

nothing calls this directly

Calls 1

_get_binary_featureFunction · 0.85

Tested by

no test coverage detected