• D
    Replace (almost) all kernel's GetInput/GetOutput with AllocateTempXXx and... · ce9451f5
    deqiangc 提交于
    Replace (almost) all kernel's GetInput/GetOutput with AllocateTempXXx and DeallocateTempXxx micro context api (#894)
    
    * Replace GetInput/GetOutput with micro context api
    
    * Replace GetInput/GetOutput in kernels with micro_context api. Ther are three kernels (strided_slice, squeeze, transpose)that are not changed yet because:
    they put the returned value of GetInput/GetOutput in an OpData structure that is persistent.
    It is better to have separate change to opdata of those kernels
    
    * Fix corner case in pad
    
    * Fix cmsis-nn
    
    * Fix xtensa, cmsis_nn, hexagon
    ce9451f5
read_variable.cc 3.1 KB