Multi-precision operand calculation method, device, equipment and medium

The embodiment of the invention discloses a multi-precision operand calculation method and device, equipment and a medium, and the method comprises the steps: determining an input sub-operand of at least one second data precision corresponding to an input operand based on the first data precision of...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: DING JINNAN, WU XIANGTAO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention discloses a multi-precision operand calculation method and device, equipment and a medium, and the method comprises the steps: determining an input sub-operand of at least one second data precision corresponding to an input operand based on the first data precision of the input operand; the second data precision is the data precision supported by the calculation unit, and the data bit width of the first data precision is greater than or equal to the data bit width of the second data precision; the control calculation unit calculates the input sub-operands to obtain calculation sub-results corresponding to the input sub-operands; and determining a calculation result corresponding to the input operand based on the calculation sub-results corresponding to the input sub-operands. According to the embodiment of the invention, the data calculation of different data precisions can be realized through the calculation unit with the unified data precision, the utilization rate of the cal