mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-25 22:26:24 +00:00
Fix prefast scan bug 8995 (#14077)
### Description Prefast warning fix ### Motivation and Context https://dev.azure.com/aiinfra/ONNX%20Runtime/_workitems/edit/8995/ Co-authored-by: Chen Fu <fuchen@microsoft.com>
This commit is contained in:
parent
0c3480e565
commit
a79d88ed7f
1 changed files with 7 additions and 0 deletions
|
|
@ -81,6 +81,10 @@ void BuildMatMulIntegerToFloatGraph(ModelTestBuilder& helper,
|
|||
helper.SetGraphOutputs();
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 6262)
|
||||
#endif
|
||||
TEST(CPU_U8S8_Precision_Tests, MatMulIntegerToFloat) {
|
||||
std::unordered_map<std::string, int> domain_to_version;
|
||||
domain_to_version[kOnnxDomain] = 12;
|
||||
|
|
@ -169,6 +173,9 @@ TEST(CPU_U8S8_Precision_Tests, MatMulIntegerToFloat) {
|
|||
EXPECT_EQ(ret.first, COMPARE_RESULT::SUCCESS) << ret.second;
|
||||
}
|
||||
}
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
template <typename WeightType>
|
||||
void BuildDynamicQuantizeMatMulGraph(
|
||||
|
|
|
|||
Loading…
Reference in a new issue