mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-10 17:37:14 +00:00
fix unit test of quant gemm (#10469)
This commit is contained in:
parent
0f5d0a091a
commit
c696da36c7
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ void RunQuantGemmU8X8Test(const int M,
|
|||
|
||||
constexpr int overflow_adjust = std::is_signed_v<WeightType> ? 2 : 1;
|
||||
constexpr int random_B_min = std::numeric_limits<WeightType>::min() / overflow_adjust;
|
||||
constexpr int random_B_max = std::numeric_limits<WeightType>::min() / overflow_adjust;
|
||||
constexpr int random_B_max = std::numeric_limits<WeightType>::max() / overflow_adjust;
|
||||
static std::uniform_int_distribution<int> random_B(random_B_min,
|
||||
random_B_max);
|
||||
static std::uniform_real_distribution<float> n_apha(1.0f, 2.0f);
|
||||
|
|
|
|||
Loading…
Reference in a new issue