OpenPPL / ppq

PPL Quantization Tool (PPQ) is a powerful offline neural network quantization tool.
Apache License 2.0
1.56k stars 236 forks source link

DepthToSpace reference 实现问题 #504

Open zhiqwang opened 1 year ago

zhiqwang commented 1 year ago

如果 CRD 下实现是对的话,那么有没有可能 DCR 是错的 @ZhangZhiPku

https://github.com/openppl-public/ppq/blob/95c34be4c13c18a4ec802f64815c9c8924489099/ppq/executor/op/torch/default.py#L2478-L2489

ZhangZhiPku commented 1 year ago

我现在都不知道CRD, DCR是个什么, 但这行注释确实是我加的

zhiqwang commented 1 year ago

两个至少有个是错的, torch 的 F.pixel_shuffle 应该对应 CRD 模式。