enable reshape, reshape2 and scale op (#17802)
* enable reshape&reshape2 op and add unit test * enable scale op and add unit test * fix XShape checking for reshape2 unit test test=develop * remove op_desc.hasInput(..) and op_desc.hasOutput(..) to adapt X86 platform test=develop * remove target() and precision() from softmax, reshape, reshape2 and scale op fix CopyDataFrom() of TensorHvy test=develop * alloc memory then copy tensor's data during invoking TensorHvy::CopyDataFrom(...) test=develop
Showing
想要评论请 注册 或 登录