Convolution operation method and device of convolutional neural network
A convolutional neural network and operation method technology, applied in the field of artificial intelligence algorithms, can solve problems such as increasing the power consumption of digital-to-analog converters, and achieve the effect of reducing digital-to-analog conversion consumption and energy consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] Embodiment 1 of the present invention provides a convolution operation method of a convolutional neural network, such as figure 2 shown, including:
[0055] S201, acquiring an input voltage used to characterize a pixel value.
[0056] S202, when the input voltage is scanned through the convolution sliding window, the multiplexing times of the input voltage in the convolution sliding window is obtained.
[0057] S203 , grouping the input voltages based on the difference in the multiplexing times of the input voltages.
[0058] S204 , extract the input voltages in the same group once, and perform convolution calculation with the convolution kernel respectively to obtain a result corresponding to each group.
[0059] S205, based on the result corresponding to each grouping, obtain the result of the convolution operation, so as to realize the convolution operation in the convolutional neural network.
[0060] In an optional implementation manner, the input voltage used ...
Embodiment 2
[0097] Based on the same inventive concept, an embodiment of the present invention also provides a convolution operation device of a convolutional neural network, such as Figure 8 shown, including:
[0098] an acquisition module 801, configured to acquire an input voltage used to characterize a pixel value;
[0099] a first obtaining module 802, configured to obtain the multiplexing times of the input voltage in the convolution sliding window when the input voltage is scanned through the convolution sliding window;
[0100] a grouping module 803, configured to group the input voltages based on the difference in the multiplexing times of the input voltages;
[0101] The second obtaining module 804 is used to extract the input voltage in the same group once, and perform convolution calculation with the convolution kernel respectively to obtain the result corresponding to each group;
[0102] The third obtaining module 805 is configured to obtain the result of the convolution ...
Embodiment 3
[0113] Based on the same inventive concept, the fourth embodiment of the present invention provides an electronic device, such as Figure 9 As shown, it includes a memory 904, a processor 902, and a computer program stored in the memory 904 and running on the processor 902. When the processor 902 executes the program, the above-mentioned convolution operation method of the convolutional neural network is realized. step.
[0114] Among them, in Figure 9 In the bus architecture (represented by bus 900 ), bus 900 may include any number of interconnected buses and bridges, bus 900 will include one or more processors represented by processor 902 and various types of memory represented by memory 904 circuits are linked together. The bus 900 may also link together various other circuits, such as peripherals, voltage regulators and power management circuits, etc., which are well known in the art and therefore will not be described further herein. Bus interface 906 provides an inte...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com