Patent ID: 11928446
Assignee: KWAI INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 12:
13. A non-transitory computer-readable storage medium storing a plurality of programs for execution by a computing device having one or more processors, wherein the plurality of programs, when executed by the one or more processors, cause the computing device to perform acts comprising:
obtaining a neural network model, wherein the neural network model is programed to run on at least one platform;
obtaining an initial intermediate representation (IR) code by encoding the neural network model, and obtaining a target IR code by adding decorations to the initial IR code based on a target platform; and
outputting an executable code optimized to run on the target platform by decoding the target IR code, wherein the plurality of programs further cause the computing device to perform:
obtaining multiple graph objects based on a scan of the target IR code; and
outputting the executable code based on a traverse of the multiple graph objects.