add prim test for some ops (#51749)
* add tanh and cast prim test
* fix tanh test
* fix 0-d test
* add sqrt fp16 prim test
* add public_python_api in prim test
* fix test_squeeze2_op
* add tanh prim test
* add dropout prim test
* [Dy2St]Fix clone for test state problem
* clean code
* modify test_cumsum_op
* modify test_cumsum_op
* fix dropout test
* add dropout in cmake
* fix dropout test
---------
Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
Showing
想要评论请 注册 或 登录