Skip to content

Commit

Permalink
remove tensorflow bug
Browse files Browse the repository at this point in the history
  • Loading branch information
VibhuJawa committed Jan 4, 2022
1 parent cd13ce5 commit 56133b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cudf/cudf/core/subword_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _cast_to_appropriate_type(ar, cast_type):
from torch.utils.dlpack import from_dlpack

elif cast_type == "tf":
from tf.experimental.dlpack import from_dlpack
from tensorflow.experimental.dlpack import from_dlpack

return from_dlpack(ar.astype("int32").toDlpack())

Expand Down

0 comments on commit 56133b3

Please sign in to comment.