The invention is notably directed to a hardware
system (1) designed to implement an
artificial neural network (ANN). The hardware
system basically includes a
neural processing apparatus (15), e.g., involving as
crossbar array structure, one or more
lookup table circuits (17), and one or more
processing units (18). The
neural processing apparatus is configured to implement M artificial neurons, where M≥1. The
lookup table circuits are configured to implement a
lookup table (LUT). The
system further includes M′
processing units, where M≥M′≥1. Each
processing unit is connected by at least one
neuron, in order to be able to access a first value outputted by each connected
neuron. In addition, each processing unit is connected to a LUT circuit, in order to efficiently access parameter values of a set of parameters from the LUT. Finally, each processing unit is configured to output a second value, corresponding to a value of a mathematical function taking said first value as argument. The mathematical function is otherwise determined by the set of parameters, the parameter values of which are accessed by each processing unit from the LUT, in operation. I.e., the mathematical function is defined (and thus determined) by a set of parameters, the values of which are efficiently retrieved from the hardware-implemented LUT. This results in a substantial acceleration of the computations of the function outputs, beyond the acceleration that may already be achieved within the
neural processing apparatus and the processing units themselves. As a result, the
neuron outputs can be more efficiently processed, prior to being passed to a next neuron layer. The invention is further directed to a method of operating such a hardware system.