Created by: LutaoChu
Bug fixes
APIs
add 'offset' type check, add 'padding_value' type check, add input 'x' shape check