-
公开(公告)号:US10606566B2
公开(公告)日:2020-03-31
申请号:US15721701
申请日:2017-09-29
Applicant: Apple Inc.
Inventor: Alexander B. Brown , Michael R. Siracusa , Gaurav Kapoor , Elizabeth A. Ottens , Christopher M. Hanson , Zachary A. Nation , Vrushali H. Mundhe , Srikrishna Sridhar
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.