Skip to content

Commit

Permalink
revert format
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyu-intel committed Dec 8, 2023
1 parent 5f0e6aa commit 6465e27
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions onnxruntime/test/contrib_ops/matmul_4bits_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ void QuantizeDequantize(std::vector<float>& raw_vals,
// Note that input1_f_vals is NxK after dequant
MlasDequantizeBlockwise<float, 4>(
raw_vals.data(), // dequantized output
quant_vals.data(), // quantized input
scales.data(), // quantization scales
zp != nullptr ? zp->data() : nullptr, // quantization zero points
block_size, // quantization block size
true, // columnwise quantization
K, // number of rows
N, // number of columns
tp.get());
quant_vals.data(), // quantized input
scales.data(), // quantization scales
zp != nullptr ? zp->data() : nullptr, // quantization zero points
block_size, // quantization block size
true, // columnwise quantization
K, // number of rows
N, // number of columns
tp.get());
}

void RunTest(int64_t M, int64_t N, int64_t K, int64_t block_size, MLAS_SQNBIT_COMPUTE_TYPE comp_type,
Expand Down

0 comments on commit 6465e27

Please sign in to comment.