TScaleAndShift.cpp
9.39 KB
-
Optimize the ScaleAndShift function and add more unit tests. · 6d137345
1. Call the Scale or Shift functions when the parameter shift is 0.0F or scale is 1.0F. 2. Add the unit test for ScaleAndShift for the cases which parameter shift is 0.0F or scale is 1.0F.
liyinqiao committed