Skip to content

Commit

Permalink
Update python/taichi/lang/util.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bobcao3 authored Jun 23, 2024
1 parent 15cf000 commit aaf9529
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python/taichi/lang/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ def to_pytorch_type(dt):
raise RuntimeError(f"PyTorch doesn't support {dt.to_string()} data type before version 2.3.0.")

raise RuntimeError(f"PyTorch doesn't support {dt.to_string()} data type.")
assert False


def to_paddle_type(dt):
Expand Down

0 comments on commit aaf9529

Please sign in to comment.