Cannot import name'BatchedDGLHeteroGraph' from'dgl'

When I installed dgl, I got the error “cannot import name’BatchedDGLHeteroGraph’ from’dgl’”, see the picture for details, I don’t know why

Environment

  • DGL Version :0.5.2
  • Backend Library & Version :PyTorch 1.5.0
  • OS (e.g., Linux): Linux
  • How you installed DGL ( conda , pip , source): conda
  • Build command you used (if compiling from source):
  • Python version: 3.7
  • CUDA/cuDNN version (if applicable): 10.1
  • GPU models and configuration (e.g. V100):
  • Any other relevant information:

BatchedDGLHeteroGraph has been deprecated and replaced by DGLGraph.

thanks,I modified the acnn.py file for what you say.

Cool. You can still get the batch size of the graph with DGLGraph.batch_size.