-
公开(公告)号:WO2018222290A1
公开(公告)日:2018-12-06
申请号:PCT/US2018/028416
申请日:2018-04-19
Applicant: APPLE INC.
Inventor: BROWN, Alexander B. , SIRACUSA, Michael R. , KAPOOR, Gaurav , OTTENS, Elizabeth A. , HANSON, Christopher M. , NATION, Zachary A. , MUNDHE, Vrushali H. , SRIDHAR, Srikrishna
Abstract: The subject technology provides for generating machine learning (ML) model code from a ML document file, the ML document file being in a first data format, the ML document file being converted to code in an object oriented programming language different than the first data format. The subject technology further provides for receiving additional code that calls a function provided by the ML model code. The subject technology compiles the ML model code and the additional code, the compiled ML model code including object code corresponding to the compiled ML model code and the compiled additional code including object code corresponding to the additional code. The subject technology generates a package including the compiled ML model code and the compiled additional code. Further, the subject technology sends the package to a runtime environment on a target device for execution.
-
公开(公告)号:WO2018222289A1
公开(公告)日:2018-12-06
申请号:PCT/US2018/028414
申请日:2018-04-19
Applicant: APPLE INC.
Inventor: BROWN, Alexander B. , SIRACUSA, Michael R. , KAPOOR, Gaurav , OTTENS, Elizabeth , HANSON, Christopher M. , NATION, Zachary A. , MUNDHE, Vrushali , SRIDHAR, Srikrishna
Abstract: The subject technology provides for determining that a machine learning model in a first format includes sufficient data to conform to a particular model specification in a second format, the second format corresponding to an object oriented programming language. The subject technology transforms the machine learning model into a transformed machine learning model that is compatible with the particular model specification. The subject technology generates a code interface and code for the transformed machine learning model, the code interface including code statements in the object oriented programming language, the code statements corresponding to an object representing the transformed machine learning model. Further, the subject technology provides the generated code interface and the code for display in an integrated development environment (IDE), the IDE enabling modifying of the generated code interface and the code.
-