Patent ID: 11868901
Assignee: PERCIEVE CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method for generating neural network program instructions for a neural network inference circuit (NNIC) to execute a neural network, the method comprising:
receiving configuration data for implementing the neural network using the NNIC, wherein, for each neural network layer, the configuration data specifies a set of memory units of the neural network inference circuit for storing input values and output values of the layer of the neural network;
for a set of layers of the neural network for which at least one memory unit is specified for storing both input values and output values of the layer, modifying the configuration data to specify storing the input values of the layer on a first set of memory units that is different from a second set of memory units specified for storing the output values of the layer to avoid latency introduced by an inability to read and write to a same memory unit in a same clock cycle; and
generating, based on the modified configuration data, program instructions for the NNIC to use to execute the particular neural network.