[go: nahoru, domu]

Skip to content

Commit

Permalink
torch.bool support
Browse files Browse the repository at this point in the history
Reviewed By: jaybean-dev, jfix71

Differential Revision: D48089238

fbshipit-source-id: a15492d96a03d149d36a7c682bfb7bb6ba5bcdf1
  • Loading branch information
Kunming Ho authored and facebook-github-bot committed Aug 7, 2023
1 parent 5ad7151 commit e208dd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Graph/FXIRUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ const std::unordered_map<std::string, ElemKind> stringToElemKind = {
{"acc.uint8fused", ElemKind::UInt8FusedQTy},
// 4-bit fused quantize type
{"acc.uint4fused", ElemKind::UInt4FusedQTy},
// bool type
{"torch.bool", ElemKind::BoolTy},
};
}

Expand Down

0 comments on commit e208dd2

Please sign in to comment.