Advanced computational processes and methods of using the same
First Claim
1. A data processing apparatus comprising:
- a computing circuit that performs a matrix computation between data streams whose unit data is of a matrix format;
a determining unit that;
for each matrix obtained by the matrix computation by the computing unit, determines based on the value of each element included in the matrix, an exponent value for expressing each element included in the matrix as a floating decimal point value, by obtaining one or more element sets, each having a corresponding element count and each being a series of elements obtained by the matrix computation by the computing circuit, and determining based on the value of each element included in the element set, an exponent value for the element set to express elements of the element set as floating decimal point values, the element count being a unit data length, the unit data length corresponding to an instruction and being a length of a unit of the matrix;
wherein the determining unit includes;
a determining circuit that, with respect to each element set having a corresponding element count where a total count of elements included in a series of elements is an upper limit, determines from the head of the series of elements and for each element set and based on the value of each element included in the element set, the exponent value for the element set to express each element of the element set as a floating decimal point value; and
a selecting circuit that, with respect to each element included in the series of elements, selects from among the exponent values determined for each element set by the determining circuit, the exponent value for the element set;
a converting unit that converts the value of each element included in the series of elements into a significand value of the element, according to the exponent value determined by the determining unit; and
wherein the converting unit includes a shifting circuit that, for each element included in the series of elements, converts the value of the element into the significand of the element according to the exponent value selected for the element set by the selecting circuit; and
an output circuit that;
correlates and outputs the exponent value and each matrix after conversion in which the value of each element in the matrix has been converted by the converting unit; and
correlates and outputs the exponent value determined for each element set by the determiner and the value of each element included in the element set after conversion by the converter.
4 Assignments
0 Petitions
Accused Products
Abstract
A data processing apparatus includes a computing unit that performs a matrix computation between data streams whose unit data is of a matrix format; a determining unit that for each matrix obtained by the matrix computation by the computing unit, determines based on the value of each element included in the matrix, an exponent value for expressing each element included in the matrix as a floating decimal point value; a converting unit that converts the value of each element into a significand value of the element, according to the exponent value determined by the determining unit; and an output unit that correlates and outputs the exponent value and each matrix after conversion in which the value of each element in the matrix has been converted by the converting unit.
-
Citations
11 Claims
-
1. A data processing apparatus comprising:
-
a computing circuit that performs a matrix computation between data streams whose unit data is of a matrix format; a determining unit that;
for each matrix obtained by the matrix computation by the computing unit, determines based on the value of each element included in the matrix, an exponent value for expressing each element included in the matrix as a floating decimal point value, by obtaining one or more element sets, each having a corresponding element count and each being a series of elements obtained by the matrix computation by the computing circuit, and determining based on the value of each element included in the element set, an exponent value for the element set to express elements of the element set as floating decimal point values, the element count being a unit data length, the unit data length corresponding to an instruction and being a length of a unit of the matrix;wherein the determining unit includes; a determining circuit that, with respect to each element set having a corresponding element count where a total count of elements included in a series of elements is an upper limit, determines from the head of the series of elements and for each element set and based on the value of each element included in the element set, the exponent value for the element set to express each element of the element set as a floating decimal point value; and a selecting circuit that, with respect to each element included in the series of elements, selects from among the exponent values determined for each element set by the determining circuit, the exponent value for the element set; a converting unit that converts the value of each element included in the series of elements into a significand value of the element, according to the exponent value determined by the determining unit; and wherein the converting unit includes a shifting circuit that, for each element included in the series of elements, converts the value of the element into the significand of the element according to the exponent value selected for the element set by the selecting circuit; and an output circuit that; correlates and outputs the exponent value and each matrix after conversion in which the value of each element in the matrix has been converted by the converting unit; and correlates and outputs the exponent value determined for each element set by the determiner and the value of each element included in the element set after conversion by the converter. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A data processing method that is executed by a computer, the data processing method comprising:
-
performing a matrix computation by a computing circuit between data streams whose unit data is of a matrix format; determining for each matrix obtained by the matrix computation by the computing circuit and based on the value of each element included in the matrix, an exponent value for expressing each element included in the matrix as a floating decimal point value, by obtaining one or more element sets, each having a corresponding element count and each being a series of elements obtained by the matrix computation by the computing circuit, and determining based on the value of each element included in the element set, an exponent value for the element set to express elements of the element set as floating decimal point values, the element count being a unit data length, the unit data length corresponding to an instruction and being a length of a unit of the matrix; wherein the step of determining includes; with respect to each element set having a corresponding element count where a total count of elements included in a series of elements is an upper limit, determining by a determining circuit from the head of the series of elements and for each element set and based on the value of each element included in the element set, the exponent value for the element set to express each element of the element set as a floating decimal point value; and with respect to each element included in the series of elements, selecting by a selecting circuit from among the exponent values determined for each element set, the exponent value for the element set; converting the value of each element included in the series of elements into a significand value of the element, according to the exponent value determined at the determining, wherein the step of converting includes, for each element included in the series of elements, converting by a shifting circuit the value of the element into the significand of the element according to the exponent value selected for the element set by the selecting circuit; and correlating and outputting the exponent value and each matrix after conversion in which the value of each element in the matrix has been converted at the converting; and correlating and outputting the exponent value determined for each element set and the value of each element included in the element set after conversion. - View Dependent Claims (9)
-
-
10. A non-transitory, computer-readable recording medium that stores a data processing program that causes a computer to execute a process comprising:
-
performing a matrix computation by a computing circuit between data streams whose unit data is of a matrix format; determining for each matrix obtained by the matrix computation by the computing circuit and based on the value of each element included in the matrix, an exponent value for expressing each element included in the matrix as a floating decimal point value, by obtaining one or more element sets, each having a corresponding element count and each being a series of elements obtained by the matrix computation by the computing circuit, and determining based on the value of each element included in the element set, an exponent value for the element set to express elements of the element set as floating decimal point values, the element count being a unit data length, the unit data length corresponding to an instruction and being a length of a unit of the matrix; wherein the step of determining includes; with respect to each element set having a corresponding element count where a total count of elements included in a series of elements is an upper limit, determining by a determining circuit from the head of the series of elements and for each element set and based on the value of each element included in the element set, the exponent value for the element set to express each element of the element set as a floating decimal point value; and with respect to each element included in the series of elements, selecting by a selecting circuit from among the exponent values determined for each element set by the determining circuit, the exponent value for the element set; converting the value of each element included in the series of elements into a significand value of the element, according to the exponent value determined at the determining, wherein the step of converting includes, for each element included in the series of elements, converting by a shifting circuit the value of the element into the significand of the element according to the exponent value selected for the element set by the selecting circuit; and correlating and outputting the exponent value and each matrix after conversion in which the value of each element in the matrix has been converted at the converting; and correlating and outputting the exponent value determined for each element set and the value of each element included in the element set after conversion. - View Dependent Claims (11)
-
Specification