Created by: yaoxuefeng6
Others PR types
APIs PR changes
Describe
According to paddle 2.0 standard 1, change attr name 'dim' to 'axis' 2, change api input name 'input' to 'x' 3, add check axis value in python code and related ut. 4,change example code to imperative mode