Slicing a batch

Hi, was slice_batch API deprecated? I tried to install it from source but slice_idx module seems to be missing in git.
Is there another way to access the edges IDs of specific graphs in a batch?

Edges of the same graph are stored together in a batch. Suppose there are three graphs, each with N_0, N_1, N_2 edges respectively. Then when batched together, these edges are stored in [0, N_0), [N_0, N_0+N_1), [N_0+N_1~N_0+N_1+N_2) respectively.

dgl.slice_batch is NOT deprecated. Here’s the doc link: dgl.slice_batch — DGL 0.8.0post2 documentation.

Which branch of source code are you using? Below is master branch.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.