Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

61 results about "Fixed-point arithmetic" patented technology

In computing, a fixed-point number representation is a real data type for a number that has a fixed number of digits after (and sometimes also before) the radix point (after the decimal point '.' in English decimal notation). Fixed-point number representation can be compared to the more complicated (and more computationally demanding) floating-point number representation.

Fractional order PID control method and system based on FPGA

PendingCN121115458AControllers with particular characteristicsNumerical stabilityFractional-order control
The invention relates to a fractional order PID (Proportion Integration Differentiation) control method and system based on an FPGA (Field Programmable Gate Array). The method comprises the following steps of: 1, setting fractional order PID related parameters according to the requirements of a controlled object; 2, calculating a fractional order calculus weight coefficient according to the fractional order PID related parameters, and storing the fractional order calculus weight coefficient in the FPGA; 3, collecting a state feedback signal of the controlled object, and calculating an integral term operator and a differential term operator; step 4, calculating control output and performing amplitude limiting processing, and updating the state of the controlled object by using the control output after the amplitude limiting processing; and 5, repeating the steps 1-4 to realize fractional order PID closed-loop control. By optimizing a discrete convolution algorithm, adopting a parallel pipeline architecture and configurable parameter design and combining fixed-point number operation and security boundary constraint, the numerical stability and hardware security of the system under high-speed operation are ensured, the calculation speed is remarkably increased while the operation precision is ensured, and the method is suitable for large-scale popularization and application. And the method is suitable for control occasions with extremely high real-time requirements.
Owner:SHANDONG UNIV

Arithmetic processing device, arithmetic processing methods, and arithmetic processing program

An arithmetic processing device includes: an arithmetic unit configured to execute an arithmetic operation corresponding to each of layers constituting a neural network and output an arithmetic operation result; an analysis unit configured to perform, for each of division units obtained by dividing the arithmetic operation result by one or more units, an analysis according to the arithmetic operation result belonging to the division unit, and output an analysis result for each division unit; a decimal point position determination unit configured to determine a decimal point position indicating a dynamic range for each division unit on the basis of the analysis result for each division unit output by the analysis unit; and a quantization unit configured to perform quantization on the arithmetic operation result to become fixed-point data having a decimal point position determined for the division unit to which the arithmetic operation result belongs.
Owner:NT T INC

Data processing method and device applied to database system

ActiveCN121233072BData classType conversion
One or more embodiments of the specification provide a data processing method and device applied to a database system. After triggering a data type conversion task, the data processing method obtains a to-be-converted floating point number of the data type conversion task, converts the to-be-converted floating point number into a first floating point number represented by an extended precision, and then calculates a second floating point number scaled to a preset numerical interval through multiple loop integer calculations to perform accurate rounding. According to whether the decimal part of the intermediate value of the last loop integer calculation and the distance between the upper interval and the lower interval of the last loop integer calculation are both greater than the error value of the last loop integer calculation, in the case of satisfying the error value of the last loop integer calculation, the second floating point number is converted into a fixed point number according to the integer part of the intermediate value of each loop integer calculation and the rounding result of the last loop integer calculation, to serve as the execution result of the data type conversion task.
Owner:BEIJING OCEANBASE TECHNOLOGY CO LTD

Floating point index operation method, tensor processor, equipment and storage medium

The invention provides a floating point index operation method, a tensor processor, equipment and a storage medium. The floating point index operation method comprises the following steps: converting a first equation into a second equation taking 2 as a bottom and taking a target floating point number multiplied by a reciprocal of ln2 as an index, and obtaining an integer term of an index of the second equation; obtaining a first decimal item of an index of the second equation, splitting the first decimal item into a fixed-point number item and a first floating-point number item, and obtaining a first index operation result corresponding to the fixed-point number item from a preset table; calculating a second exponential operation result of the integer term and multiplying the first exponential operation result by the second exponential operation result to obtain an initial natural exponential operation result of the target floating-point number; and performing Taylor expansion calculation on the first floating-point number item to obtain a third exponential operation result, and multiplying the initial natural exponential operation result of the target floating-point number by the third exponential operation result. According to the embodiment of the invention, the floating point index operation efficiency can be improved on the premise of ensuring the floating point index operation precision.
Owner:SOPHGO TECH LTD

Fixed-point division calculation method and device, control chip, air conditioner and storage medium

This application relates to a method, apparatus, control chip, air conditioner, and storage medium for calculating fixed-point number division. The method includes: obtaining a fixed-point number to be calculated, wherein the fixed-point number to be calculated includes a first value as the dividend and a second value as the divisor; mapping the first value and the second value to a preset fixed-point format respectively to obtain a third value and a fourth value represented by the preset fixed-point format, wherein the data convergence efficiency of the preset fixed-point format is higher than the data convergence efficiency of the original format of the fixed-point number to be calculated; extracting a value of a preset bit width starting from the least significant bit of the fourth value, and determining the extracted value as a fifth value; performing iterative calculation on the third value and the fifth value until the current value meets a first preset condition, and stopping the iterative calculation; and determining the division result corresponding to the fixed-point number to be calculated based on the third value obtained from the final iterative calculation. This can improve the efficiency of fixed-point number division calculation.
Owner:GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1

Method for operating a neural network model, readable medium and electronic device

The application relates to the field of artificial intelligence, and discloses a neural network model running method, readable medium and electronic equipment. The method comprises the following steps: detecting a first operation in the process of running a neural network model, the first operation comprising a first operation part, and the first operation part comprising at least one nonlinear operation factor; obtaining first input data of the first operation from a first data matrix; generating first lookup table parameters of the first input data; determining a first index value corresponding to the first lookup table parameters in an index table, obtaining a first lookup table result corresponding to the first index value in the index table, wherein the first lookup table parameters, the first index value and the first lookup table result are fixed-point numbers; and determining an operation result of the first operation part based on the first lookup table result. Thus, the electronic equipment can obtain the fixed-point number operation result of the first operation through linear operation and lookup table when running the first operation, and the speed of running the neural network model of the electronic equipment is improved.
Owner:ARM TECH CHINA CO LTD

Trail or lead digit predictor

The present application relates to trailing or leading digit predictors. A method and a leading zero predictor for estimating the number of leading zeros in the result of a fixed-point arithmetic operation, accurate to within one bit of any signed fixed-point number. The leading zero predictor comprises an input encoding circuit that generates an encoded input string from the fixed-point number; a window-based proxy string generation circuit that generates a proxy string by examining successive windows of the encoded input string and setting corresponding bits of the proxy string based on the examination, the leading ones of the proxy string being an estimate of the leading ones in the result of the arithmetic operation; and a counter circuit configured to estimate the number of leading zeros in the result of the arithmetic operation based on the leading ones in the proxy string.
Owner:IMAGINATION TECH LTD

SDFT high-precision fast signal processing method and system based on linear convolution

The invention discloses an SDFT high-precision fast signal processing method and system based on linear convolution. The method comprises the following five steps: (1) obtaining the total sample number of a discrete signal x (n) to be transformed, and recording the total sample number as N; (2) a data type conversion step, namely converting the discrete signal x (n) from a double-precision floating point type into a fixed point number with a longer data bit; (3) constructing a complex number convolution kernel 1, a complex number convolution kernel 2 and a phase compensation factor by adopting a fixed point number according to the total sample number N; (4) a linear convolution step, namely linear convolution of the convolution kernel 1 and the convolution kernel 2, and taking effective linear convolution as an output frequency spectrum; and (5) a phase compensation step: performing phase compensation on the frequency spectrum obtained in the step (4) by using a phase compensation factor to obtain SDFT of the input signal x (n). Compared with an existing SDFT fast transformation processing method, the calculation precision of the method is improved by three orders of magnitude.
Owner:HUBEI NORMAL UNIV

An image target recognition method based on a deep learning neural network model

The application provides an image target recognition method, comprising: inputting images in an image set into a trained floating-point deep neural network model, and obtaining a value range of floating-point numbers output by each hidden layer of the floating-point deep neural network model; determining parameters in an asymmetric quantization relationship between the floating-point numbers output by each hidden layer of the floating-point deep neural network model and fixed-point numbers according to the value range of the floating-point numbers output by each hidden layer of the floating-point deep neural network model and in combination with a target bit width value of the fixed-point numbers after quantization; determining the asymmetric quantization relationship between the floating-point numbers output by each hidden layer and the fixed-point numbers as: after each hidden layer of the floating-point deep neural network model, an output floating-point number corresponding to each hidden layer is replaced by an asymmetric quantization relationship between the output floating-point number and the fixed-point number to obtain a fixed-point neural network model; inputting a to-be-detected image into the fixed-point neural network model, converting the floating-point numbers output by each hidden layer in the fixed-point neural network model into fixed-point numbers, and completing image target recognition.
Owner:BEIJING AEROSPACE AUTOMATIC CONTROL RES INST

RANS entropy coding method, system and equipment

The invention provides an RANS entropy coding method, system and equipment, and the method achieves the high parallelism and rapid calculation while solving the state dependence through an interleaving pipeline and a fixed-point number shift multiplication lossless replacement division method, enables the time needed by coding to be remarkably reduced, greatly improves the throughput, achieves the full utilization of hardware resources, and improves the coding efficiency. Meanwhile, when high-resolution images are coded, the compression rate loss of the method can be basically ignored, and the method is suitable for a depth image compression neural network.
Owner:NANJING UNIV

WiFi network digital down-conversion system

The invention provides a WiFi network digital down-conversion system which comprises a multi-phase mixer and a resampling filter. The multi-phase mixer is used for converting a high-speed digital band-pass signal into a low-speed mode so as to realize digital down-conversion (DDC) on an FPGA (Field Programmable Gate Array) platform; and the resampling filter is used for reducing the sampling rate and removing unwanted frequency spectrum components to generate a complex baseband frequency spectrum. The multi-phase mixer PM of the present invention employs a parallel coordinate rotation digital computer (CORDIC) processor and a low pass filter array to reduce high speed data rates while minimizing resource utilization. The resampling filter comprises a cascade integral combination (CIC) filter and a multi-channel pulse finite impulse response (FIR) filter, optimal hardware cost is achieved, a floating point data type is converted into a fixed point data type, and resources are remarkably saved.
Owner:TAIYUAN UNIVERSITY OF TECHNOLOGY +1

Automate hardware design using recursion in non-power of two fast fourier transform (FFT) hardware algorithms

Technologies for compilers that implement non-power of two Fast Fourier Transform (FFT) algorithms are described. The non-power of two FFT algorithm uses a recursive function to generate a hardware design of a set of compute blocks of a fixed-point digital signal processor (DSP) and routing data between the compute blocks. The compiler receives input specifying a sequence of indexes and a bit width of the fixed-point DSP and performs a process. The process splits the sequence using a recursive loop, determines a number of multiplications in the hardware design, and generates a trace graph of the non-power of two FFT algorithm. The process is entered via the recursive function and exists when the recursive loop decrements to a specified value corresponding to a Radix-3 or Radix-2. The compiler outputs data, including the hardware design, the number of multiplications in the hardware design, and the trace graph.
Owner:AMAZON TECH INC

Design Method for Fixed-Point and Floating-Point Adder

A design method for a fixed-point and floating-point adder includes: S1, performing fixed-point and floating-point identification by a shared mantissa addition module; S2, for fixed-point numbers, performing low-bit calculation in the shared mantissa addition module; configuring a fixed-point number processing module, saving a carry of a highest bit in low-bit calculation results, and transmitting the saved carry to the fixed-point number processing module to obtain a fixed-point number addition result; S3, for floating-point numbers, performing calculation, in the shared mantissa addition module, on mantissas of the floating-point numbers, configuring a floating-point number processing module, and performing exponent matching and normalization on exponents of the floating-point numbers to obtain a normalized result; obtaining a floating-point number addition result according to sign bits of the floating-point numbers, the exponents subjected to the exponent matching and the normalized result; and S4, transmitting the result to an output module, and outputting the result.
Owner:JIANGSU HUACHUANG MICROSYSTEM CO LTD

Multi-data-type multiplier and method for realizing multiplication of multiple types of data

The embodiment of the invention discloses a multi-data-type multiplier and a method for realizing multiplication of multiple types of data, relates to the technical field of digital integrated circuits, and is convenient for realizing the multiplier supporting data operation of multiple data types at lower cost, so that the area of the integrated circuit and power consumption resources are saved. The method comprises the following steps: basic multiplication units of at least two data types, wherein the basic multiplication units are used for realizing mantissa part or fixed-point number multiplication of floating-point numbers of predetermined data types through combinational operation; the control unit is used for selecting basic multiplication unit combinations of different data types according to the data types of the input matrix; the input matrix is decomposed into a plurality of parts, and the parts are respectively transmitted to corresponding basic multiplication units for operation; and performing shift and accumulation operation on the operation result of each part. The method is suitable for an integrated circuit design scene.
Owner:ZHIHAOTONG (TIANJIN) INFORMATION TECHNOLOGY CO LTD

Implementation method of general exponential lookup table supporting floating point type data

The invention discloses a method for realizing a general exponential lookup table supporting floating point type data, which belongs to the field of integrated circuit digitalities and comprises the following steps of: firstly, solving a lookup value of the exponential lookup table; log2 is taken from the table lookup numerical value to calculate a data storage address of the lookup table; performing table lookup on an exponential lookup table by using the calculated address and the next address; solving an interpolation coefficient; converting the interpolation coefficient represented by the fixed-point number into a floating-point number format; and performing linear interpolation calculation to obtain a final output result. When the address and the interpolation coefficient are calculated, an integer simulation floating point operation is adopted, so that floating point calculation units are greatly reduced, and the consumption of hardware resources is reduced. The method based on the lookup table is adopted, so that the universality is enhanced, and the calculation speed is increased.
Owner:58TH RES INST OF CETC

Integral simulation method and device, electronic equipment and storage medium

The invention discloses an integral simulation method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining an integral input value of the simulation, the integral input value of the simulation being a difference value between a current speed and a target speed of a vehicle; on the basis of the integral input value of the simulation and a preset simulation step size, determining an integral increment of the simulation, the preset simulation step size being represented by a decimal fixed-point number; and determining the integral output value of the simulation based on the integral increment of the simulation and the integral output value of the previous simulation. In this way, the simulation precision requirement of the model can be met, the integral operation precision is improved, and therefore the precision of the whole PID algorithm and the simulation control precision of the vehicle speed are improved.
Owner:BEIJING GLOBAL CROWN JINYANG TECH DEV CO LTD

Hierarchical Mantissa Bit Length Selection For Hardware Implementation Of Deep Neural Network

Hierarchical methods for selecting fixed point number formats with reduced mantissa bit lengths for representing values input to, and / or output, from, the layers of a DNN. The methods begin with one or more initial fixed point number formats for each layer. The layers are divided into subsets of layers and the mantissa bit lengths of the fixed point number formats are iteratively reduced from the initial fixed point number formats on a per subset basis. If a reduction causes the output error of the DNN to exceed an error threshold, then the reduction is discarded, and no more reductions are made to the layers of the subset. Otherwise a further reduction is made to the fixed point number formats for the layers in that subset. Once no further reductions can be made to any of the subsets the method is repeated for continually increasing numbers of subsets until a predetermined number of layers per subset is achieved.
Owner:IMAGINATION TECH LTD

Texture coordinate processing method and device, electronic equipment and storage medium

The present disclosure relates to the technical field of computers, and provides a texture coordinate processing method and device, electronic equipment and storage medium. The method comprises: receiving at least one first texture coordinate and a plurality of sets of precision parameters, the first texture coordinate being a floating-point number; for each first texture coordinate, converting the first texture coordinate using the plurality of sets of precision parameters to obtain a plurality of second texture coordinates, the second texture coordinates being fixed-point numbers; for the plurality of second texture coordinates obtained by converting each first texture coordinate, determining the precision gap between each second texture coordinate and a reference value corresponding to the second texture coordinate, and determining the second texture coordinate with the largest precision gap with the reference value as the processed texture coordinate. The method can reduce the number of iterations, reduce data processing costs, and improve the processing efficiency of texture coordinates.
Owner:MOORE THREADS TECH CO LTD

Implementation method of dynamic precision approximate multiplication based on partial product decoupling and multiplier

The invention provides a partial product decoupling-based dynamic precision approximate multiplication implementation method and a multiplier, and the multiplier comprises a significance evaluation unit which splits a first operand and a second operand into high digits and low digits, and correspondingly generates a first amplitude and a second amplitude; different precision instructions are generated based on the amplitudes and the threshold values; the dynamic precision unit performs zero setting processing on the second low digit based on the precision instruction to form an approximate number, and calculates a partial product of the first high digit and the approximate number; the accurate calculation unit accurately calculates products of the other three parts; and the final addition unit sums the products of the four parts according to the weight. The calculation unit can be used for constructing or optimizing a multiplication calculation array in a neural network hardware accelerator, is particularly suitable for scenes with dense fixed-point number operation such as convolution, and performs efficient approximate operation on the input fixed-point number through a data driving mechanism by utilizing the common sparsity and amplitude difference characteristics of neural network data, so that the calculation efficiency is improved. And self-adaptive management of power consumption is realized.
Owner:EHIWAY MICROELECTRONIC SCI & TECH (SUZHOU) CO LTD

Fixed-point matrix FFT calculation method based on memristor

ActiveCN121233885AComputing operations for multiplication/divisionComputing operations for addition/subtractionImaging processingBinary multiplier
The invention provides a memristor-based fixed-point matrix FFT (Fast Fourier Transform) calculation method, which belongs to the technical field of signal processing and image processing, and comprises the following steps of: firstly, constructing a non-linear voltage controlled memristor model, simulating a state conversion behavior in logic operation through a dynamic regulation mechanism, and realizing the function of a basic logic gate; according to the method, an FFT algorithm based on matrix block optimization is designed, FFT calculation is decomposed into small-scale matrix operation units, calculation efficiency is optimized in combination with a Kronecker product and an arrangement matrix, FFT operation with higher point number is expanded in a recursion mode, meanwhile, a full adder and a multiplier are designed based on a memristor, efficient fixed-point number operation is achieved, and finally, the FFT calculation efficiency is improved. The method is applied to image FFT processing, and a processing result is obtained. The scheme of the invention has higher calculation efficiency and lower energy consumption while ensuring the calculation precision, can be widely applied to the fields of image processing, signal analysis, scientific calculation and the like, and has important practical value and application prospect.
Owner:UNIV OF ELECTRONICS SCI & TECH OF CHINA

Arbitrary-dimension simplest memristor Hamilton conservative chaotic system and construction method and application thereof

The invention discloses an arbitrary-dimension simplest memristor Hamilton conservative chaotic system and a construction method and application thereof, and belongs to the technical field of information security. According to the system, a voltage difference type three-terminal memristor model is firstly built, then an n-dimensional Hamilton conservative chaotic system general formula is built, the memristor model is introduced into the n-dimensional Hamilton conservative chaotic system general formula, the simplest system is obtained through the steps of element replacement, parameter setting and the like, and multi-scroll expansion can be achieved by introducing a nonlinear function. A system mathematical model is simple, the proportion of nonlinear terms is low, hardware is constructed based on an ARTIX-7 FPGA platform, a 36Q32 format fixed-point number is adopted, resource consumption is low, data throughput is high, and output sequence randomness is high. The system can be applied to the fields of artificial intelligence data enhancement and random signal generation, provides a new path for high-dimensional conservative chaotic system modeling, and is suitable for information security application of resource-limited scenes.
Owner:HEILONGJIANG UNIV

Quantization method of neural network EltwsieAdd operator

This invention provides a quantization method for the EltwiseAdd operator in neural networks. The method quantizes the EltwiseAdd operator to obtain the EltwiseAddQuant operator, which can directly perform element-wise addition calculations using fixed-point input activation and directly output fixed-point results. The entire calculation process only involves fixed-point addition, avoiding floating-point multiplication and rounding operations. The method includes: S1. Recording the operator activation range; S2. Updating the numerical range of the EltwiseAdd operator activation and updating the EltwiseAdd quantization calculation method; S3. Performing the overall quantization. The advantages of quantizing the EltwiseAdd operator proposed in this invention include reduced computational resource consumption, faster computation speed, lower power consumption, enhanced compatibility, and improved memory efficiency. These advantages make quantization an effective means of model compression and acceleration, especially suitable for resource-constrained environments and applications requiring rapid response.
Owner:HEFEI JUNZHENG TECH CO LTD

Fix-point implementation of mesh codec

Systems, devices, and methods for fixed point implementation of a subdivision processing for video decoding are provided, which may include obtaining two vertices associated with an encoded mesh, determining a first normal vector and a second normal vector with integer components. It may also include determining a first normalized normal vector based on the first normal vector and a second normalized normal vector based on the second normal vector using an inverse square root function and determining a middle normalized normal vector associated with a middle-point based on the combination of the fix-point number with the first pre-defined number of digits, the right-shift operation by the second pre-defined number, and the components of the middle-point. It may also include decoding the encoded mesh based on the first normalized normal vector, the second normalized normal vector, and the middle normalized normal vector.
Owner:TENCENT AMERICA LLC

A 64-bit fixed-point trigonometric function operation method of an ARM processor

The application discloses a 64-bit fixed-point trigonometric function operation method of an ARM processor, which comprises the following steps: firstly, defining a 64-bit fixed-point number and a data type conversion mechanism; defining a sin trigonometric function table based on a 32-bit fixed-point number and storing the table in the form of integer data; secondly, converting a floating-point number to be operated into a 64-bit fixed-point number, performing a modulus operation on the 64-bit fixed-point number and a 64-bit fixed-point number form of π / 2, obtaining a trigonometric function variable, representing the variable in the form of integer data, and then incrementally searching a table to obtain a sin value of the converted 32-bit fixed-point number in the sin trigonometric function table; using the 64-bit fixed-point number to represent and using linear interpolation to compensate the value of the lower 16 bits of the decimal point, so as to obtain a sin value corresponding to the 64-bit fixed-point number; and finally, according to the sin value, using a trigonometric function transformation formula to calculate the values of trigonometric functions cos and tan. The operation method can realize high-precision decimal trigonometric function operation with high operation speed in the ARM processor.
Owner:INST OF INTELLIGENT MFG GUANGDONG ACAD OF SCI

Implementation circuit, method and application of S-type activation function based on ASIC (Application Specific Integrated Circuit)

PendingCN121349255ABiological modelsDigital function generatorsSigmoid activation functionData transformation
The invention discloses an implementation circuit of an S-type activation function based on an ASIC (Application Specific Integrated Circuit). The implementation circuit comprises an input analysis module, an address generation module, a lookup table storage module and a multiplication and addition calculation module, the input analysis module is used for receiving input data in a floating-point number format and separating sign bits, index bits and mantissa bits; the address generation module is used for converting input data into a fixed point number and generating a lookup table address; the lookup table storage module is used for storing values after segmentation quantization of the S-type function and outputting corresponding function values; the multiply-add calculation module completes multiply-add operation to obtain an output value of the S-type activation function; and the multiply-add calculation module is used for outputting an activation function result to a subsequent calculation unit. The invention further provides an S-type activation function implementation method using the circuit, and the S-type activation function implementation method has a wide application prospect.
Owner:SHANGHAI QUSU CHAOWEI TECHNOLOGY CO LTD

Techniques for improving compression by forcing a hit for bounding volumes of a bvh

Data for nodes of a bounding volume hierarchy can be represented in fixed-point format for compression. For good precision, fixed-point bounds are stored along with each node, where these bounds represent the minimum and maximum representable numbers in the format. While this provides good compression, there are ways in which this technique can produce undesirable results. For example, if the size of many or most of the bounding volumes in the fixed-point number space is significantly smaller than the bounds, then the representation of such bounding volume in the fixed-point space may be unnecessarily large, resulting in a large number of false positive intersections during BVH traversal. Thus, techniques are provided herein for setting certain bounding volumes as “always hit” in order to eliminate the bounding volumes from inclusion in the fixed-point bounds. This shrinks the fixed-point bounds, giving better precision for smaller bounding volumes.
Owner:ADVANCED MICRO DEVICES INC +1

Runtime evaluation methods and systems for fixed-point data types

This invention relates to model simulation technology, specifically to a runtime evaluation method and system for fixed-point data types. The runtime evaluation method for fixed-point data types is applied to a model simulation unit and includes: acquiring fixed-point metadata of the original input variables of a target simulation module; performing quantization processing on the original input variables based on the fixed-point metadata, followed by dequantization processing to obtain input dequantized values; inputting the input dequantized values ​​into the target simulation module to obtain initial output values; and performing backfilling processing on the initial output values ​​based on the fixed-point metadata to obtain final output values ​​that conform to fixed-point semantics.
Owner:SHANGHAI TOSUN TECH LTD

Neural network compression device with alternate pruning fixed points

The invention discloses a pruning fixed-point alternating neural network compression device, which comprises a storage device, a data processing chip, an editable logic device, a processor and an instruction controller, the instruction controller sends an instruction to trigger the storage device to output a target neural network weight matrix, and coordinates the working time sequence of each structural member; the data processing chip obtains a weight matrix, calculates the proportion of each row of non-zero elements to obtain the density, reads a corresponding sub-matrix according to a sub-matrix address, executes pruning to generate a sparse sub-matrix and a pruning mask, obtains a retraining matrix through retraining based on a complete sparse matrix, converts the retraining matrix into a fixed-point number matrix, and determines a fixed-point strategy parameter; the editable logic device performs row index sorting on the weight matrix according to the density, and divides the weight matrix into a plurality of mutually exclusive subsets in a snakelike manner to obtain submatrix addresses; and the processor reorganizes the sparse sub-matrix into a complete sparse matrix through a deployed module, performs fixed-point training on the fixed-point number matrix in combination with the pruning mask, and stores the trained matrix into a storage device.
Owner:CHIPGLINT (NINGBO) INTELLIGENT TECH CO LTD

On-device unified inference-training pipeline for hybrid precision forward-back propagation through heterogeneous floating point graphics processing units (GPUs) and fixed point digital signal processors (DSPs)

A processor-implemented method for hybrid precision inference and training includes receiving inputs through an artificial neural network (ANN) model. The ANN model processes the input using a fixed point processor. The processing of the input is performed in a fixed point format to compute an inference. A model update for the ANN model is selectively calculated using either a floating point processor or the fixed point processor based on the loss of the ANN model. The model update is calculated in a floating point format or the fixed point format.
Owner:QUALCOMM INC

Methods, devices, and electronic equipment for processing feature data of neural network models

PendingCN122311484ANetwork modelFeature data
This application provides a method, apparatus, and electronic device for processing feature data of a neural network model. The method includes: acquiring feature data; performing fixed-point processing on the feature data to obtain first fixed-point data; scaling the first fixed-point data to obtain second fixed-point data; and performing approximate calculation on the second fixed-point data using a preset error function to obtain approximate result data; and integrating the approximate result data and the first fixed-point data to obtain nonlinear result data. This solution reduces hardware implementation complexity while improving the computational efficiency of model feature data, making it suitable for lightweight deployment in real-time scenarios.
Owner:GUANGZHOU ZHONO ELECTRONICS TECH CO LTD