Skip to content

Commit

Permalink
fix small typo bug (dmlc#2708)
Browse files Browse the repository at this point in the history
Co-authored-by: Zihao Ye <[email protected]>
  • Loading branch information
Padarn and yzh119 authored Feb 28, 2021
1 parent 28b0a76 commit 062f59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/dgl/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,4 +428,4 @@ def unbatch_hetero(*args, **kwargs):
"""DEPREACTED: please use dgl.unbatch """
dgl_warning('From v0.5, DGLHeteroGraph is merged into DGLGraph. You can safely'
' replace dgl.unbatch_hetero with dgl.unbatch')
return batch(*args, **kwargs)
return unbatch(*args, **kwargs)

0 comments on commit 062f59a

Please sign in to comment.