Fix integer overflow bug in Downsampler when asked to upscale images.
This should also be a slight accuracy improvement since we're now using a somewhat more efficient density multiplier in some cases, especially when downsampling. Fixes #2459. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171601510
Showing
想要评论请 注册 或 登录