MCPcopy
hub / github.com/dmlc/dgl / bucketor

Function bucketor

python/dgl/core.py:200–202  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

198 bkt_idx.append(F.gather_row(idx, eqidx))
199
200 def bucketor(data):
201 bkts = [F.gather_row(data, idx) for idx in bkt_idx]
202 return bkts
203
204 return unique_val, bucketor
205

Callers 1

invoke_udf_reduceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected