add scale

Signed-off-by: densy <laiqifang@gmail.com>