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 a9a3d6e commit 2cfa457Copy full SHA for 2cfa457
onnxruntime/test/providers/checkers.cc
@@ -190,7 +190,7 @@ struct TensorCheck<Int4x2> {
190
const auto size = actual.Shape().Size();
191
cur_expected = expected.Data<Int4x2>();
192
cur_actual = actual.Data<Int4x2>();
193
- double threshold;
+ double threshold = 0.0f;
194
if (has_abs_err) {
195
threshold = *(params.absolute_error);
196
}
@@ -221,7 +221,7 @@ struct TensorCheck<UInt4x2> {
221
cur_expected = expected.Data<UInt4x2>();
222
cur_actual = actual.Data<UInt4x2>();
223
224
225
226
227
0 commit comments