Int4CPULayout¶ class torchao.dtypes.Int4CPULayout[原始碼]¶ 用於仿射量化張量的 int4 CPU 佈局的佈局類,由 tinygemm 核心 _weight_int4pack_mm_for_cpu 使用。僅適用於 PyTorch 2.6 及以上版本