MULTIPLICATION AND ADDITION DEVICE FOR MATRICES, NEURAL NETWORK COMPUTING DEVICE, AND METHOD

    公开(公告)号:US20190311252A1

    公开(公告)日:2019-10-10

    申请号:US16440257

    申请日:2019-06-13

    IPC分类号: G06N3/063 G06F17/16 G06F7/544

    摘要: Aspects of a neural network operation device are described herein. The aspects may include a matrix element storage module configured to receive a first matrix that includes one or more first values, each of the first values being represented in a sequence that includes one or more bits. The matrix element storage module may be further configured to respectively store the one or more bits in one or more storage spaces in accordance with positions of the bits in the sequence. The aspects may further include a numeric operation module configured to calculate an intermediate result for each storage space based on one or more second values in a second matrix and an accumulation module configured to sum the intermediate results to generate an output value.

    NEURAL NETWORK CONVOLUTION COMPUTATION METHOD AND DEVICE, AND COMPUTER-READABLE STORAGE MEDIUM

    公开(公告)号:US20190311242A1

    公开(公告)日:2019-10-10

    申请号:US16440204

    申请日:2019-06-13

    IPC分类号: G06N3/02 G06F17/16

    摘要: Aspects of a neural network convolution device are described herein. The aspects may include a matrix transformer and a matrix multiplication module. The matrix transformer may be configured to receive an input data matrix and a weight matrix, transform the input data matrix into a transformed input data matrix based on a first transformation matrix, and transform the weight matrix into a transformed weight matrix based on a second transformation matrix. The matrix multiplication module may be configured to multiply one or more input data elements in the transformed input data matrix with one or more weight elements in the transformed weight matrix to generate an intermediate output matrix. The matrix transformer may be further configured to transform the intermediate output matrix into an output matrix based on an inverse transformation matrix.