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

Claim 6:
7. A computing device comprising:
one or more processors; and
a non-transitory computer-readable memory storing instructions executable by the one or more processors, wherein the one or more processors are configured to:
obtain a neural network model, wherein the neural network model is programed to run on at least one platform;
obtain 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
output an executable code optimized to run on the target platform by decoding the target IR code, wherein the one or more processors configured to output the executable code optimized to run on the target platform by decoding the target IR code are further configured to:
obtain multiple graph objects based on a scan of the target IR code; and
output the executable code based on a traverse of the multiple graph objects.