Commit 2966666c authored by YdrMaster's avatar YdrMaster Committed by PanZezhong
Browse files

issue/68/fix: 改正 rearrange


Signed-off-by: default avatarYdrMaster <ydrml@hotmail.com>
parent 3ddeae7d
......@@ -46,6 +46,7 @@ std::optional<RearrangeMeta> RearrangeMeta::create(
}
return std::abs(a.dst) > std::abs(b.dst);
});
ndim = dims.size();
// # 合并连续维度
// ## 合并末尾连续维度到 unit
for (auto it = dims.rbegin(); it != dims.rend(); ++it) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment