-
公开(公告)号:US20220309395A1
公开(公告)日:2022-09-29
申请号:US17604670
申请日:2020-09-16
Inventor: Tuobang WU , En SHI , Yongkang XIE , Xiaoyu CHEN , Lianghuo ZHANG , Jie LIU , Binbin XU
IPC: G06N20/00 , G06F16/242 , G06F16/25
Abstract: The present disclosure discloses a method and an apparatus for adapting a deep learning model, an electronic device and a medium, which relates to technology fields of artificial intelligence, deep learning, and cloud computing. The specific implementation plan is: obtaining model information of an original deep learning model and hardware information of a target hardware to be adapted; querying a conversion path table according to the model information and the hardware information to obtain a matched target conversion path; and converting, according to the target conversion path, the original deep learning model to an intermediate deep learning model in the conversion path, and converting the intermediate deep learning model to the target deep learning model. Therefore, the deep learning model conversion is performed based on the model conversion path determined by the model information of the original deep learning model and the hardware information of the target hardware, which realizes converting any type of original deep learning model into the target deep learning model adapted to any target hardware, and solves the problem that the deep learning model is difficult to be applied to different hardware terminals.