Closed classicsong closed 4 years ago
In PyTorch 1.6, Integer division using div is no longer supported, and in a future release div will perform true division as in Python 3. Use torch.true_divide() or torch.floor_divide() (// in Python), instead.
Mentioned in https://discuss.dgl.ai/t/knowledge-graphs-dglke/1332.
In PyTorch 1.6, Integer division using div is no longer supported, and in a future release div will perform true division as in Python 3. Use torch.true_divide() or torch.floor_divide() (// in Python), instead.
Mentioned in https://discuss.dgl.ai/t/knowledge-graphs-dglke/1332.