Patent ID: 11941532
Assignee: ZHEJIANG LAB
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 6:
7. The method for adapting a deep learning framework to a hardware device based on a unified backend engine according to claim 1, wherein the step S4 comprises the following substeps:
S41: converting the computational graph of the framework into the intermediate representation of the unified backend engine, and adding a compilation interface for compiling the intermediate representation to a compilation interface of a compiler of the unified backend engine at a framework end, and the compilation interface inputting the intermediate representation;
S42: the compiler of the unified backend engine at the framework end transmitting the intermediate representation to a running backend interface of the compiler of the unified backend engine at the hardware device end through the compilation interface;
S43: the compiler of the unified backend engine compiling the intermediate representation in the running backend interface to generate the executable object.