CPC G06F 9/30 (2013.01) [G06F 7/46 (2013.01); G06F 9/30007 (2013.01); G06N 3/04 (2013.01); G06N 3/08 (2013.01)] | 14 Claims |
1. A computation device comprising:
an input circuit configured to acquire input data, wherein the input data includes data to be processed;
a model generation circuit configured to construct an offline model according to the input data;
a neural network operation circuit configured to:
determine a computation instruction based on the offline model,
cache the computation instruction, and
compute the data to be processed according to the computation instruction to obtain a computation result; and
a model parsing circuit configured to generate the computation instruction according to the offline model; and
a neural network processor configured to cache the computation instruction for subsequent computation, or retrieve a cached computation instruction based on a determination that the input data only includes the data to be processed, and perform computation on the data to be processed according to the computation instruction to obtain the computation result.
|