Add flatten op interface and enhance APIs about detection to support variable-length image. (#12422) * add flatten api&enhance detection api * unify shape_op data type * update API.spec
拖放文件到此处或点击上传