Method and apparatus with data processing
AssigneeSamsung Electronics Co., Ltd.
InventorsIhor Vasyltsov, Wooseok Chang, Youngnam Hwang
Life of this patent
Estimating the term…
Abstract
A processor-implemented data processing method includes: normalizing input data of an activation function comprising a division operation; determining dividend data corresponding to a dividend of the division operation by reading, from a memory, a value of a first lookup table addressed by the normalized input data; determining divisor data corresponding to a divisor of the division operation by accumulating the dividend data; and determining output data of the activation function corresponding to an output of the division operation obtained by reading, from the memory, a value of a second lookup table addressed by the dividend data and the divisor data.
Claims20
A processor-implemented data processing method, the method comprising:
- based on a precision of an activation function that is determined using a division estimation operation, selecting a first lookup table from a first set of first lookup tables and selecting a second lookup table from a second set of second lookup tables;
- determining dividend data corresponding to a dividend of the division estimation operation by reading, from a memory, a value of the selected first lookup table addressed by input data of the activation function;
- determining divisor data corresponding to a divisor of the division estimation operation by accumulating the dividend data using an accumulator;
- and
- determining output data of the activation function, the output data comprising a quotient output of the division estimation operation obtained by reading, from the memory, a quotient value from the selected second lookup table.
A data processing apparatus, the apparatus comprising:
- a memory storing instructions;
- and
- one or more processors configured by the instructions to:
- based on a precision of an activation function that is determined using a division estimation operation, select a first lookup table from a first set of first lookup tables and select a second lookup table from a second set of second lookup tables;
- determine dividend data corresponding to a dividend of the division estimation operation by reading, from the memory, a value of the selected first lookup table addressed by input data of the activation function;
- determine divisor data corresponding to a divisor of the division estimation operation by accumulating the dividend data using an accumulator;
- and
- determine output data of the activation function, the output data comprising a quotient output of the division estimation operation obtained by reading, from the memory, a quotient value from the selected second lookup table.
Dependencies are inferred from the claim text.