Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for realizing function, graphic processing device, system and medium

A graphics processing and function technology, applied in the field of computer-readable media and graphics processing devices, can solve the problems of hardware logic modules that do not implement independent calculation of Sigmoid functions, and a large amount of calculation.

Active Publication Date: 2021-12-31
北京壁仞科技开发有限公司 +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the disadvantage is that the calculation amount is relatively large
[0004] In modern graphics processing units (graphics processing units, GPUs), there is basically no hardware logic module that implements the separate calculation of the Sigmoid function.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for realizing function, graphic processing device, system and medium
  • Method for realizing function, graphic processing device, system and medium
  • Method for realizing function, graphic processing device, system and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Reference will now be made in detail to specific embodiments of the present application, examples of which are illustrated in the accompanying drawings. While the present application will be described in conjunction with specific embodiments, it will be understood that it is not intended to limit the application to the described embodiments. On the contrary, it is intended to cover alterations, modifications and equivalents as included within the spirit and scope of the application as defined by the appended claims. It should be noted that the method steps described here can all be realized by any functional block or functional arrangement, and any functional block or functional arrangement can be realized as a physical entity or a logical entity, or a combination of both.

[0026] A Graphics Processing Unit (GPU) is a microprocessor that specializes in image and graphics-related operations on personal computers, workstations, game consoles, and some mobile devices (suc...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a calculation method for realizing a Sigmoid (x) function by adopting a hardware module in a processor, a graphic processing device, a system and a medium, and a method, a system and a medium for establishing a lookup table of the Sigmoid (x) function in lookup logic hardware. The graphic processing device adopts a hardware module to realize calculation of a Sigmoid (x) function, x is a real number, and the device comprises: table lookup logic hardware, which is configured to store a lookup table of the Sigmoid (x) function established at least according to the following mode: for an interval in which x is smaller than or equal to a preset negative number, an index lookup table is reused as the lookup table of the Sigmoid (x) function; an input module, which is configured to receive an input x; and an output module, which is configured to output a calculation result of the Sigmoid (x) function based on the input x and the lookup table of the Sigmoid (x) function stored in the table lookup logic hardware. In this way, the hardware logic module for independently, efficiently and precisely calculating the Sigmoid function is designed, so that the hardware logic module can be integrated in a GPU to accelerate processing of Sigmoid function calculation in various application scenes.

Description

technical field [0001] The present application relates to the fields of artificial intelligence (AI) and general computing, and more specifically, relates to a computing method, a graphics processing device, a system, and a computer-readable medium for implementing a Sigmoid(x) function by using a hardware module in a processor. Background technique [0002] In the fields of real-time graphics processing, digital signal processing, and artificial neural networks, it is often necessary to perform high-speed calculations on nonlinear functions. Among them, a large number of calculations of nonlinear functions are required in the artificial neural network. Therefore, it is of great significance to study how to deal with nonlinear functions at high speed. The most widely used nonlinear function in artificial neural networks is the Sigmoid function. [0003] The expression of the Sigmoid function is 1 / (1+𝑒 −𝑥 ), is relatively common in machine learning, and is usually used i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06T1/20G06F8/30G06N3/04
CPCG06T1/20G06F8/37G06N3/048
Inventor 不公告发明人
Owner 北京壁仞科技开发有限公司