Skip to content

Commit

Permalink
typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Jul 15, 2020
1 parent 562829f commit ea0d4b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-package/xgboost/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def _is_dlpack(data):

def _transform_dlpack(data):
from cupy import fromDlpack # pylint: disable=E0401
assert 'used_dltenso' not in str(data)
assert 'used_dltensor' not in str(data)
data = fromDlpack(data)
return data

Expand Down

0 comments on commit ea0d4b1

Please sign in to comment.