Computing method, device and related products
A computing device and computing method technology, applied in the field of information processing, can solve the problems of complex and changeable programming languages of neural network algorithms and high complexity of neural network algorithms
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0096] In a possible implementation manner, the data of the convolution algorithm is segmented according to the segmentation information to obtain segment data of the data, and the data includes input data and output data of the convolution algorithm;
[0097] determining a first intermediate representation of said data based on segmented data of said data;
[0098] determining the storage space corresponding to the first intermediate representation of the data in the on-chip cache;
[0099] generating a second intermediate representation of the data according to the storage space;
[0100] A second intermediate representation of the convolution algorithm is generated based on the second intermediate representation of the data and the second intermediate representation of the operator of the convolution algorithm.
[0101] In a possible implementation manner, the input data of the convolution algorithm includes input neurons, weights, and biases, and the output data of the co...
Embodiment 2
[0121] In a possible implementation manner, the data of the convolution algorithm is segmented according to the segmentation information to obtain segment data of the data, and the data includes input data and output data of the convolution algorithm;
[0122] determining a first intermediate representation of said data based on segmented data of said data;
[0123] A first intermediate representation of the convolution algorithm is generated according to the first intermediate representation of the data and the first intermediate representation of the operator of the convolution algorithm.
[0124] In a possible implementation manner, the data is multi-dimensional data, and the data of the convolution algorithm is segmented according to the segmentation information to obtain the segmented data of the data, including:
[0125] Segmenting each dimension data of the data according to the segmentation information to obtain dimension segmentation data of each dimension data of the...
Embodiment 3
[0131] In a possible implementation manner, the data of the pooling algorithm may be segmented according to the segmentation information to obtain segmented data of the data, where the data includes input data and output data of the pooling algorithm;
[0132] determining a first intermediate representation of said data based on segmented data of said data;
[0133] determining the storage space corresponding to the first intermediate representation of the data in the on-chip cache;
[0134] generating a second intermediate representation of the data according to the storage space;
[0135] A second intermediate expression of the pooling algorithm is generated according to the second intermediate expression of the data and the second intermediate expression of the operator of the pooling algorithm.
[0136] In a possible implementation manner, the data of the pooling algorithm is multi-dimensional data, and the data of the pooling algorithm is segmented according to the segme...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


