| CPC G06N 3/048 (2023.01) | 18 Claims |

|
1. A neural processing unit comprising:
a controller circuit configured to select a first mode or a second mode for approximating application of a target activation function in a neural network model based on an analysis of the activation function;
one or more processors configured to execute a programmed activation function (PAF) and generate a first activation value in both the first mode and the second mode by applying the PAF, the first activation value used as an approximation of applying the target activation function in the first mode; and
a converter circuit coupled to the one or more processors and configured to convert the first activation value into a second activation value in the second mode but not in the first mode, the second activation value used in the second mode to approximate application of the target activation function more accurately than the first activation value.
|