• H
    enable reshape, reshape2 and scale op (#17802) · cbb7903a
    hong19860320 提交于
    * 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
    cbb7903a
reshape_op.cc 5.2 KB