Weight Dequantization
2026/3/9小于 1 分钟
Weight Dequantization
题面
按 tile 级缩放对量化权重矩阵去量化:Y[i,j] = X[i,j] * S[floor(i/T), floor(j/T)],其中 X 为量化值,S 为每 tile 比例因子。
Implementation Requirements
- External libraries are not permitted
- The solve function signature must remain unchanged
- 输出写入
Y
Examples
见页面示例(4×4, TILE_SIZE=2)。
Constraints
- 1 ≤ M,N ≤ 8192;TILE_SIZE ∈
- Performance: M=N=8,192, TILE_SIZE=128