Data updating method and device, storage space setting method and device, chip and equipment

Abstract

The invention discloses a data updating method, a storage space setting method and device, a chip and equipment. In order to solve the technical problems that in the prior art, the classification number of data reading layers in a neural mimicry chip is fixed, the occupied area of the chip is large, and shared storage cannot be achieved, a pulse sequence output by a pulse neural network is read through the data reading layers of a memory. The method comprises the steps of: analyzing the pulse sequence to determine a prediction type of the pulse neural network for the input data; determining a target storage address corresponding to the prediction type in a storage address sequence of a memory; and updating the pulse aggregation analysis information stored in the first storage space and the pulse counting statistical information stored in the second storage space according to the pulse sequence. Based on the technical means, the technical effects of improving the data storage and updating efficiency in the dynamic readout layer, dynamically allocating the moving average value memory, reducing the chip area, dynamically configuring the number of output classes and the like are achieved

    Similar works