[cherry-pick ] add input type and dtype check for squeeze (#20100) (#20446)
* Add input check and refine error message
* Refine test case and comments
test=develop
Signed-off-by: Nzhaoyuchen <zhaoyuchen01@baidu.com>
Showing
想要评论请 注册 或 登录