We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85002cc commit d3a0ec8Copy full SHA for d3a0ec8
lib/Dialect/Torch/Utils/Utils.cpp
@@ -102,6 +102,8 @@ torch_upstream::ScalarType Torch::getScalarTypeForType(Type type) {
102
os << "\n Bit width: "
103
<< (type.isIntOrFloat() ? std::to_string(type.getIntOrFloatBitWidth())
104
: "N/A");
105
+ os << "\n Is signless: " << (type.isSignlessInteger() ? "yes" : "no");
106
+ os << "\n Is signed: " << (type.isSignedInteger() ? "yes" : "no");
107
llvm::report_fatal_error(llvm::StringRef(errorMsg));
108
}
109
Type Torch::getTypeForTorchType(
0 commit comments