| CPC G06N 3/04 (2013.01) [G06F 9/30003 (2013.01); G06F 9/4881 (2013.01); G06F 16/9024 (2019.01)] | 20 Claims |

|
1. A system comprising:
a database that stores subsets of executable instructions, wherein each subset of the subsets of executable instructions is associated with one of a plurality of subgraph identifiers; and
a computer-readable medium having a compiler stored therein that, when executed, is configured to:
identify a computational subgraph from a computational graph of a neural network model representing a sequence of computation operations to be performed for the neural network model, the sequence of computation operations including a plurality of types of computation operations including a convolution operation, an activation function processing operation, or a pooling operation;
determine a subgraph identifier of the computational subgraph;
determine whether the subgraph identifier is included in the plurality of subgraph identifiers stored in the database;
perform one of:
in response to determining that the subgraph identifier is included in the plurality of subgraph identifiers, obtain, from the database, first instructions from one of the subsets of executable instructions associated with the subgraph identifier; or
in response to determining that the subgraph identifier is not included in the plurality of subgraph identifiers, generate second instructions representing the computational subgraph; and
provide the first instructions or the second instructions for execution by a processor.
|