Invention Grant
- Patent Title: Stochastic rounding of numerical values
-
Application No.: US16001838Application Date: 2018-06-06
-
Publication No.: US10684824B2Publication Date: 2020-06-16
- Inventor: Jonah M. Alben , Paulius Micikevicius , Hao Wu , Ming Yiu Siu
- Applicant: NVIDIA Corporation
- Applicant Address: US CA Santa Clara
- Assignee: NVIDIA Corporation
- Current Assignee: NVIDIA Corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Leydig, Voit & Mayer, Ltd.
- Main IPC: G06F7/499
- IPC: G06F7/499

Abstract:
A method, computer readable medium, and system are disclosed for rounding numerical values. A set of bits from an input value is identified as a rounding value. A second set of bits representing a second value is extracted from the input value and added with the rounding value to produce a sum. The sum is truncated to produce the rounded output value. Thus, the present invention provides a stochastic rounding technique that rounds up an input value as a function of a second value and a rounding value, both of which were obtained from the input value. When the second value and rounding value are obtained from consistent bit locations of the input value, the resulting output value is deterministic. Stochastic rounding, which is deterministic, is advantageously applicable in deep learning applications.
Public/Granted literature
- US20190377549A1 STOCHASTIC ROUNDING OF NUMERICAL VALUES Public/Granted day:2019-12-12
Information query