Invention Application
- Patent Title: COMPILING CODE FOR A MACHINE LEARNING MODEL FOR EXECUTION ON A SPECIALIZED PROCESSOR
-
Application No.: US16583191Application Date: 2019-09-25
-
Publication No.: US20200379740A1Publication Date: 2020-12-03
- Inventor: Timothy S. PAEK , Francesco ROSSI , Jamil DHANANI , Keith P. AVERY , Minwoo JEONG , Xiaojin SHI , Harveen KAUR , Brandt M. WESTING
- Applicant: Apple Inc.
- Main IPC: G06F8/41
- IPC: G06F8/41 ; G06N3/04 ; G06N3/08 ; G06F8/60

Abstract:
The subject technology receives a neural network model in a model format, the model format including information for a set of layers of the neural network model, each layer of the set of layers including a set of respective operations. The subject technology generates neural network (NN) code from the neural network model, the NN code being in a programming language distinct from the model format, and the NN code comprising a respective memory allocation for each respective layer of the set of layers of the neural network model, where the generating comprises determining the respective memory allocation for each respective layer based at least in part on a resource constraint of a target device. The subject technology compiles the NN code into a binary format. The subject technology generates a package for deploying the compiled NN code on the target device.
Public/Granted literature
- US11175898B2 Compiling code for a machine learning model for execution on a specialized processor Public/Granted day:2021-11-16
Information query