Skip to content

Commit

Permalink
Fix mps code.
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliu committed Sep 2, 2023
1 parent df62221 commit 91f7a49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/nnc/mps/ccv_nnc_mps.m
Original file line number Diff line number Diff line change
Expand Up @@ -835,8 +835,8 @@ MPSDataType ccv_nnc_mps_datatype(const int datatype)
return MPSDataTypeFloat16;
case CCV_32F:
return MPSDataTypeFloat32;
case CCV_8S:
return MPSDataTypeInt8;
case CCV_QX:
assert(0 && "doesn't support quantization");
case CCV_64F:
assert(0 && "doesn't support double precision");
}
Expand Down

0 comments on commit 91f7a49

Please sign in to comment.