General machine learning model, and model file generation and parsing method
AssigneeShanghai Cambricon Information Technology Co., Ltd.
InventorsWeijian Du, Linyang Wu, Xunyu Chen
Life of this patent
Estimating the term…
Loading patent…
AssigneeShanghai Cambricon Information Technology Co., Ltd.
InventorsWeijian Du, Linyang Wu, Xunyu Chen
Estimating the term…
Disclosed are a general-purpose machine learning model generation method and apparatus, and a computer device and a storage medium. The method comprises: acquiring task parameters of a machine learning task (S1201), performing classification processing on the task parameters to obtain task instructions and model parameters (S1202), aggregating the task instructions and the model parameters according to a data type to obtain stack data and heap data (S1203), and integrating the stack data and the heap data to obtain a general-purpose machine learning model (S1204). By means of the method, compiled results of a corresponding general-purpose model in the running of an algorithm can be directly executed, which avoids repetitive compilation, thus greatly improving the efficiency of machine learning algorithm implementation and shortening the time from compilation to obtaining execution results.
A method for parsing a general-purpose machine learning secondary model file, wherein the general-purpose machine learning secondary model file comprises a general-purpose machine learning model and a secondary model directory, and the method comprises:
A device for parsing a general-purpose machine learning model file, wherein the general-purpose machine learning model file comprises a general-purpose machine learning model and a secondary model directory, and the device comprises:
Dependencies are inferred from the claim text.