Invention Grant
- Patent Title: Compiling code for a machine learning model for execution on a specialized processor
-
Application No.: US16583191Application Date: 2019-09-25
-
Publication No.: US11175898B2Publication Date: 2021-11-16
- Inventor: Timothy S. Paek , Francesco Rossi , Jamil Dhanani , Keith P. Avery , Minwoo Jeong , Xiaojin Shi , Harveen Kaur , Brandt M. Westing
- Applicant: Apple Inc.
- Applicant Address: US CA Cupertino
- Assignee: Apple Inc.
- Current Assignee: Apple Inc.
- Current Assignee Address: US CA Cupertino
- Agency: Morgan, Lewis & Bockius LLP
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F8/41 ; G06F8/60 ; G06N3/04 ; G06N3/08

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
- US20200379740A1 COMPILING CODE FOR A MACHINE LEARNING MODEL FOR EXECUTION ON A SPECIALIZED PROCESSOR Public/Granted day:2020-12-03
Information query