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 5b2aa1a commit fc6c1afCopy full SHA for fc6c1af
onnxruntime/test/unittest_util/checkers.cc
@@ -232,7 +232,7 @@ struct TensorCheck<Int4x2> {
232
const auto size = narrow<size_t>(actual.Shape().Size());
233
cur_expected = expected.Data<Int4x2>();
234
cur_actual = actual.Data<Int4x2>();
235
- double threshold;
+ double threshold = 0.0f;
236
if (has_abs_err) {
237
threshold = *(params.absolute_error);
238
}
@@ -263,7 +263,7 @@ struct TensorCheck<UInt4x2> {
263
cur_expected = expected.Data<UInt4x2>();
264
cur_actual = actual.Data<UInt4x2>();
265
266
267
268
269
0 commit comments