File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
onnxruntime/test/contrib_ops Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ void RunUnpackedData(
194194 // Make a copy to avoid modifying the original unpacked data.
195195 std::vector<int > packed_data = unpacked_data;
196196 std::vector<int64_t > packed_data_shape = unpacked_data_shape;
197- PackDataForUint8TypeIfNecessary<T1>(packed_data, packed_data_shape, bits);
197+ PackDataForUint8TypeIfNecessary<T1>(packed_data, packed_data_shape, static_cast < int >( bits) );
198198
199199 auto expect_result = expect_success ? OpTester::ExpectResult::kExpectSuccess : OpTester::ExpectResult::kExpectFailure ;
200200 if (zero_points.empty ()) {
@@ -220,7 +220,7 @@ void RunUnpackedData(
220220 // Make a copy to avoid modifying the original unpacked data.
221221 std::vector<int > packed_zero_point = zero_points;
222222 std::vector<int64_t > packed_zero_point_shape = scales_shape;
223- PackDataForUint8TypeIfNecessary<T1>(packed_zero_point, packed_zero_point_shape, bits);
223+ PackDataForUint8TypeIfNecessary<T1>(packed_zero_point, packed_zero_point_shape, static_cast < int >( bits) );
224224
225225 RunGatherBlockQuantized (ToType<T1>(packed_data),
226226 packed_data_shape,
You can’t perform that action at this time.
0 commit comments