Skip to content

Commit

Permalink
Fix mapping error (#390)
Browse files Browse the repository at this point in the history
Co-authored-by: Wenxiang Hu <[email protected]>
  • Loading branch information
siahuat0727 and wenxcs authored Mar 8, 2022
1 parent 53929d5 commit a88f425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/nnfusion/dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
TypeObject._make(
["float64", ctypes.c_double, torch.float64, numpy.float64]),
"float64":
TypeObject._make(["float64", ctypes.c_float, torch.float32,
numpy.float32]),
TypeObject._make(["float64", ctypes.c_double, torch.float64,
numpy.float64]),
"int8":
TypeObject._make(["int8", ctypes.c_int8, torch.int8, numpy.int8]),
"int16":
Expand Down

0 comments on commit a88f425

Please sign in to comment.