Nodeflow questions

1> I try to use “NodeFlow.block_compute()”, however, the error “‘NodeFlow’ object has no attribute ‘num_edges’” come out.

2> the NodeFlow sampling method, dgl.contrib.sampling.sampler. NeighborSampler's parameter expand_factor ( int , float , str ) seems can only accept int now?

  1. Could you please show a code snippet?
  2. Yes currently expand_factor only accepts int.