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

641results about "Handling data according to predetermined rules" patented technology

Reduced latency tensor transposition without redundant buffer

Techniques for reduced latency tensor transposition without using a redundant buffer are enabled. Reads from and writes to a buffer array may occur in different dimensions in a neural processing unit (NPU). For example, a set of tensor vectors may be written to a buffer in columnar format and read from the buffer in row format. As vectors of a first tensor are read from the buffer, incoming vectors from a second tensor may be transposed for storage in the dimension of already-read vectors without overwriting unread vectors. Write and read operations may alternately transpose vectors for continuous buffering in a single buffer with reduced latency.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Multi-modal knowledge graph fusion method, system and equipment based on data enhancement and medium

The invention discloses a multi-modal knowledge graph fusion method, system and equipment based on data enhancement, and a medium. The method comprises the following steps: performing multi-modal data enhancement on image and text description related to an entity; based on the enhanced entity multi-modal data, using a multi-modal pre-training model CLIP to respectively extract visual features and text features of each entity; designing a multi-modal feature guided knowledge expansion module, mining multi-modal feature similarity among different entities and association of same attribute information, and further realizing multi-modal feature enhanced entity semantic expansion; aggregating multi-modal features of entity neighbors through a graph neural network based on the expanded knowledge graph to learn structural features of entities; and fusing the multi-modal features and the structural features of the entities to complete multi-modal knowledge graph fusion. According to the method, the multi-modal data and the semantic information in the multi-modal knowledge graph are fully utilized, and effective fusion of the multi-modal knowledge graphs from a plurality of data sources is facilitated.
Owner:BEIHANG UNIV +1

Matrix transposition method of DDR3 read-write controller based on AXI4 bus

The invention discloses a matrix transposition method of a DDR3 read-write controller based on an AXI4 bus. The matrix transposition method solves the problems that an existing transposition method is low in data access efficiency, serious in storage resource waste and poor in system portability. The method comprises the following steps: dividing an original echo matrix into a plurality of sub-matrix blocks, mapping and storing the sub-matrix blocks into a Bank of DDR3 to obtain a three-dimensional mapping result; reading data in each sub-matrix block in the three-dimensional mapping result by utilizing a DDR3 read control module, and writing the read data into an RAM (Random Access Memory) of an FPGA (Field Programmable Gate Array) to obtain a transposed matrix; writing the transposed matrix into the original Bank of the DDR3 by using a DDR3 write control module to obtain the DDR3 in which the data is written; according to the invention, low on-chip storage resource occupation independent of matrix scale is realized, and high-efficiency processing requirements of large-scale echo data in satellite-borne SAR real-time imaging processing are better met.
Owner:XIDIAN UNIV

Matrix data transposition method, matrix data transposition device and chip

The embodiment of the invention discloses a matrix data transposing method, a matrix data transposing device and a chip, the matrix data transposing method comprises the following steps: performing first cyclic shift on initial matrix data to obtain shift matrix data, taking every at least two adjacent matrix elements as an element set, and further writing the element set into a cache unit; according to the method, the instantiation number of cache units in an artificial intelligence chip can be effectively reduced, so that the area of the artificial intelligence chip is reduced, a target element set is read from each cache unit and combined to obtain target row data, and then the transposed initial matrix data is obtained through simple matrix element recombination, so that the transposed initial matrix data is obtained. Therefore, the time complexity can be effectively reduced, the transposition performance is improved, the area-effect ratio is effectively improved, the transposition performance is effectively improved while the area of an artificial intelligence chip is reduced, and the method can be widely applied to the technical fields of artificial intelligence, cloud technology and the like.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Large box girder boundary dimension measurement method based on point cloud data aerial triangulation calculation method

The invention relates to the technical field of box girder construction, in particular to a large box girder boundary dimension measuring method based on a point cloud data aerial triangulation calculation method, which comprises the following steps: scanning and acquiring original point cloud data through a three-dimensional laser scanner, and preprocessing a point cloud model through point cloud registration, noise reduction and the like; carrying out aerial triangulation calculation and boundary dimension measurement on the point cloud data; according to the large box girder boundary dimension measuring method based on the point cloud data aerial triangulation calculation method, firstly, a point cloud model is accurately converted into an absolute position coordinate system through the aerial triangulation calculation method, and the zero point of the coordinate is the midpoint of the connecting line of two beam bottom oblique angle mark points at the beam end; after coordinate system conversion is completed, in consideration of complex boundary dimension measurement, special measurement points are selected on a unified coordinate system model after splicing to measure each boundary dimension item. The measuring method can accurately and quickly measure various boundary dimension parameters required by the project, and the error is controlled within 5mm.
Owner:CHINA RAILWAY SHANGHAI ENG BUREAU GRP THIRD ENG CO LTD +2

Decoder, decoding method, memory controller, and memory system

According to one aspect of the present disclosure, a decoder is provided. The decoder may include a cache module. The cache module may be configured to cache soft data related to a codeword to be decoded. The decoder may include a flip-indication module. The flip-indication module may be configured to obtain the soft data from the cache module. The flip-indication module may be configured to, when performing hard-decision decoding on the codeword to be decoded, determine, at least in a first flip iteration and with assistance of the soft data, a number of parity checks not satisfied by bits in the codeword to be decoded.
Owner:YANGTZE MEMORY TECH CO LTD

Three-dimensional data encoding method, three-dimensional data decoding method, three-dimensional data encoding device, and three-dimensional data decoding device

A three-dimensional data encoding method of encoding three-dimensional points includes: re-ordering, in a re-ordered data order, pieces of attribute information of the three-dimensional points arranged in a predetermined order; encoding the pieces of attribute information re-ordered in the re-ordering, in accordance with the re-ordered data order; and generating a bitstream including (i) order information indicating the predetermined order and (ii) the pieces of attribute information encoded in the encoding.
Owner:PANASONIC INTELLECTUAL PROPERTY CORP OF AMERICA

Asynchronous CIOS modular multiplication algorithm and asynchronous modular multiplication architecture

According to the asynchronous CIOS modular multiplication algorithm and the asynchronous modular multiplication architecture, three small cycles of j in the CIOS modular multiplication algorithm are combined, data temporary storage of the first two small cycles of j is omitted, calculation of the third small cycle of j is fused in a second-stage pipeline after calculation of the second small cycle of j, and two stages of pipelines are formed; after the first round of calculation is executed on the first small cycle of the j, the first round of calculation is started on the second small cycle of the j, assignment on the third small cycle of the j is completed, meanwhile, the second round of calculation is started on the first small cycle of the j, and so on; and in the CIOS modular multiplication algorithm, parallel computing is completed on an assembly line for large loop internal computing of i through an asynchronous circuit. The asynchronous micro-pipeline comprises three basic structures, namely, an FIFO (First In First Out) structure, a Fork structure and a Merge structure. According to the method, loops of the CIOS modular multiplication algorithm are combined, pipeline parallel computing of large loop internal computing is achieved through an asynchronous circuit, the computing area is reduced, and meanwhile the computing speed is increased.
Owner:LANZHOU UNIV

High-performance switch shared cache control system

The invention provides a shared cache control system for a high-performance switch. The shared cache control system comprises a plurality of port modules, a plurality of memory allocation modules, a plurality of memory recovery modules, a dynamic channel allocation module and an SRAM (Static Random Access Memory) array, the dynamic channel distribution module is used for cross communication among the port module, the memory distribution module, the memory recovery module and the SRAM array; the port module is used for receiving and transmitting data packets, scheduling other modules to work and performing read-write operation on addresses in the SRAM array; the memory allocation module is used for allocating a memory space address for the data packet and recording an idle state or an occupied state of an SRAM address space by adopting a vector mapping mechanism; and the recovery module is used for requesting the destination port to read the data packet and recovering the memory address space corresponding to the read data packet. The method has the beneficial effect that the switching rate of the shared cache type switch is improved.
Owner:SHENZHEN UNIV

Complex operation lightweight architecture and method based on FPGA (Field Programmable Gate Array)

The invention provides a complex operation lightweight architecture and method based on an FPGA, the architecture comprises a main scheduling module, a calculation module and a floating point operator module, the calculation module comprises a storage unit and a calculation unit, the storage unit obtains and caches input data of a target algorithm, and the main scheduling module carries out the calculation of the target algorithm according to the operation sequence of the target algorithm. The target algorithm is divided into a plurality of calculation steps, and corresponding operation enable signals are generated and transmitted to the calculation unit; the calculation unit obtains target parameters required by calculation steps from the storage unit according to the operation enable signal, obtains floating point operator units required by the calculation steps from the floating point operator module, and executes the calculation steps to determine an operation intermediate result; and storing the operation intermediate result in a storage unit, generating an operation completion signal and transmitting the operation completion signal to a main scheduling module to control the next calculation step until a final operation result is obtained. Therefore, the FPGA architecture with low power consumption and miniaturization is realized.
Owner:EHIWAY MICROELECTRONIC SCI & TECH (SUZHOU) CO LTD

Data quantification method and system, computer equipment, medium and product

The invention discloses a data quantification method and system, computer equipment, a medium and a product, and relates to the technical field of large models.The data quantification method comprises the steps that a to-be-quantized numerical value matrix is obtained, and the to-be-quantized numerical value matrix is divided into parallel processing data sets; normalizing each parallel processing data group based on each preset parallel processing unit to obtain each intermediate to-be-quantized value; and determining a quantization scaling factor based on the maximum value in the intermediate to-be-quantized values, and scaling the intermediate to-be-quantized values based on the quantization scaling factor to obtain quantized values, the maximum value being the maximum value of the absolute values in the intermediate to-be-quantized values. According to the technical scheme, the technical problem of how to improve the reasoning speed of the large language model is solved.
Owner:BEIJING QINGCHENG JIZHI TECHNOLOGY CO LTD

Hardware accelerator for realizing attention weighted summation and operation method thereof

The invention relates to the technical field of integrated circuit chips, and discloses a hardware accelerator for realizing attention weighted summation, which comprises a control module, a dynamic random access memory, a ping-pong static random access memory, a data buffer, an input first-in first-out queue module, an output first-in first-out queue module, a processing unit array, an exp module, an adder tree module and a log2 module, according to the hardware accelerator, by designing a special circuit structure, efficient parallel computing can be achieved, memory access delay is reduced, and therefore the computing speed of attention weighted summation is increased.
Owner:ARTIFICIAL INTELLIGENCE RES INST OF HEFEI COMPREHENSIVE NAT SCI CENT (ANHUI ARTIFICIAL INTELLIGENCE LAB)

Vector processor, vector instruction processing method, device and equipment

The invention discloses a vector processor, a vector instruction processing method, a vector instruction processing device and vector instruction processing equipment. The vector processor includes a scalar processing unit, a vector processing unit, and a vector memory. Wherein the scalar processing unit is used for analyzing and distributing vector instructions; the vector processing unit is connected with the scalar processing unit and is used for executing the vector instruction transmitted by the vector instruction transmitting module through a target processing unit module and executing reading operation or writing operation on the plurality of vector registers based on the 2P SRAM based on the vector instruction; and the vector memory is used for storing data required to be stored when the target processing unit module executes the reading operation or the writing operation. The vector processor comprises the vector register of the 2P SRAM, the number of used transistors is reduced, the same number of bits are stored through a small number of transistors, and the area and power consumption of the vector processor can be reduced.
Owner:XINSHENG TECHNOLOGY CO LTD

Character recognition model training method and apparatus, character recognition method and apparatus, device and storage medium

The present disclosure provides a character recognition model training method and apparatus, a character recognition method and apparatus, a device and a medium, relating to the technical field of artificial intelligence, and specifically to the technical fields of deep learning, image processing and computer vision, which can be applied to scenarios such as character detection and recognition technology. The specific implementing solution is: partitioning an untagged training sample into at least two sub-sample images; dividing the at least two sub-sample images into a first training set and a second training set; where the first training set includes a first sub-sample image with a visible attribute, and the second training set includes a second sub-sample image with an invisible attribute; performing self-supervised training on a to-be-trained encoder by taking the second training set as a tag of the first training set, to obtain a target encoder.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

Systems, methods, and apparatuses for tile matrix multiplication and accumulation

Embodiments detailed herein relate to matrix operations. In particular, matrix (tile) multiply accumulate and negated matrix (tile) multiply accumulate are discussed. For example, in some embodiments decode circuitry to decode an instruction having fields for an opcode, an identifier for a first source matrix operand, an identifier of a second source matrix operand, and an identifier for a source / destination matrix operand; and execution circuitry to execute the decoded instruction to multiply the identified first source matrix operand by the identified second source matrix operand, add a result of the multiplication to the identified source / destination matrix operand, and store a result of the addition in the identified source / destination matrix operand and zero unconfigured columns of identified source / destination matrix operand are detailed.
Owner:INTEL CORP

Systems, methods, and apparatuses for matrix add, subtract, and multiply

Embodiments detailed herein relate to matrix operations. In particular, support for matrix (tile) addition, subtraction, and multiplication is described. For example, circuitry to support instructions for element-by-element matrix (tile) addition, subtraction, and multiplication are detailed. In some embodiments, for matrix (tile) addition, decode circuitry is to decode an instruction having fields for an opcode, a first source matrix operand identifier, a second source matrix operand identifier, and a destination matrix operand identifier; and execution circuitry is to execute the decoded instruction to, for each data element position of the identified first source matrix operand: add a first data value at that data element position to a second data value at a corresponding data element position of the identified second source matrix operand, and store a result of the addition into a corresponding data element position of the identified destination matrix operand.
Owner:INTEL CORP

LU decomposition method and device based on sparse matrix operator, equipment and medium

The invention provides a sparse matrix operator-based LU decomposition method, apparatus and device, and a medium. The method comprises the steps of obtaining an original sparse matrix; and segmenting the original sparse matrix into a plurality of sparse blocks by using a sparse LU partitioning algorithm, and performing sparse LU decomposition on the sparse blocks. According to the method, the original sparse matrix is acquired, the sparse LU partitioning algorithm is utilized to segment the original sparse matrix into the plurality of sparse blocks, and sparse LU decomposition is performed on the sparse blocks, so that a sparse matrix operator can be adopted to replace a dense matrix operator to perform main calculation, and the sparse LU decomposition algorithm is solved by completely using a sparse calculation mode; moreover, the utilization of the sparseness of the sparse matrix is increased, and the calculation performance of the LU decomposition of the sparse matrix can be improved.
Owner:CHINA UNIV OF PETROLEUM (BEIJING)

Data conversion method and device, electronic equipment and storage medium

A data conversion method and device, an electronic device and a storage medium are used for converting dimensions of a first data combination, the first data combination comprises at least one batch, and dimensions of data corresponding to each batch comprise a first dimension, a second dimension and a third dimension. The data conversion method comprises the steps that n elements in a first data combination are read according to a first dimension direction, a first processing group is obtained, the first element to the nth element in the first processing group are arranged according to the first dimension direction, and n is a positive integer; transposing the first dimension and the third dimension of the first processing group to obtain a second processing group, the first element to the nth element in the second processing group being arranged according to the direction of the third dimension; the first to nth elements in the second processing group are written to the first memory. According to the data conversion method, the delay of data conversion is reduced, and the burden of equipment is relieved.
Owner:BEIJING YOUZHUJU NETWORK TECH CO LTD +1

Processing-in-memory devices having multiple operation circuits

A processing-in-memory (PIM) device may include a plurality of memory banks configured to provide plural groups of weight data, a global buffer configured to provide plural sets of vector data, and a plurality of multiplication / accumulation (MAC) operators configured to perform MAC operations of the plural groups of weigh data and the plural sets of vector data. Each of the plurality of MAC operators includes a plurality of multiple operation circuits. Each of the plurality of multiple operation circuits is configured to perform an arithmetic operation in a first operation mode, a second operation mode, or a third operation mode according to first to third selection signals.
Owner:SK HYNIX INC

Sparse Matrix Multiplication in Hardware

Aspects of the disclosure provide for methods, systems, and apparatuses, including computer-readable storage media, for sparse matrix multiplication. A system for matrix multiplication includes an array of sparse shards. Each sparse shard can be configured to receive an input sub-matrix and an input sub-vector, where the input sub-matrix has a number of non-zero values equal to or less than a predetermined maximum non-zero threshold. The sparse shard can, by a plurality of multiplier circuits, compute one or more products of vector values multiplied with respective non-zero values of the input sub-matrix. The sparse shard can generate, as output to the sparse shard and using the one or more products, a shard output vector that is the product of applying the shard input vector to the shard input matrix.
Owner:GOOGLE LLC

Data processing method and apparatus, electronic device, and readable storage medium

The present application discloses a data processing method and apparatus, an electronic device, and a computer-readable storage medium. The method is applied to a convolution adaptor, and the convolution adaptor is arranged between external storage and an internal cache of a computing unit. The method includes: acquiring register data, where the register data is determined according to data types of target data and / or convolution types of convolution processing applied to the target data, and is used for describing reading modes of the target data; and reading the target data from the external storage according to the register data, and storing the target data in the internal cache according to a data read sequence.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Data sorting device and method, chip, electronic equipment and storage medium

The invention discloses a data sorting device and method, a chip, electronic equipment and a storage medium, and the device comprises a controller which is used for obtaining a plurality of first data groups; a parity sorting network for sorting the first data set into a second data set; the data selector is used for acquiring a target data group; the controller is used for comparing the target data set with the ith second data set at an interval of N bits to obtain an (i-1) th third data set; when the TopN is sorted, the double-adjustment merging network is used for sorting the (i-1) th third data group into the (i-1) th fourth data group; when i is equal to the number of the plurality of first data groups, taking the (i-1) th fourth data group as a TopN sorting result; and during full sorting, the double-adjustment merging network is used for carrying out iterative merging on the sorted fourth data group to obtain a full sorting result. The method can be compatible with TopN and a dual-tone full-sorting algorithm, and saves computing resources.
Owner:SHANGHAI ORIENTAL COMPUTER TECHNOLOGY CO LTD

Multi-scalar multiplication acceleration method based on resource pre-estimation and pre-calculation strategy

The invention discloses a multi-scalar multiplication acceleration method based on resource estimation and a pre-calculation strategy, and provides a systematic solution for the problems of insufficient resource estimation, pre-calculation factor stiffness and low sorting efficiency of a Pippenger algorithm in zero-knowledge proof. A multi-resolution point multiplication table is dynamically generated through a hierarchical displacement pre-calculation strategy, and global memory access delay is remarkably reduced by combining memory layout optimization and asynchronous flow task scheduling of window inner barrel continuous storage. A dynamic resource adaptation mechanism is designed, thread block topology, grid division and sorting algorithm selection are adjusted in real time based on GPU hardware features, and load balancing and cache utilization rate maximization are achieved. Iterative reduction and double temporary bucket strategies are introduced, and data scale is compressed and boundary processing is optimized through multi-round reduction. In the large-scale MSM operation in the block chain and privacy computing field, the computing efficiency and the resource utilization rate can be remarkably improved, and the method is suitable for an elliptic curve cryptography acceleration task.
Owner:BEIHANG UNIV

Ray tracing method, apparatus for ray tracing, device, computer-readable storage medium, and computer program product

Provided in the embodiments of the present application are a ray tracing method, an apparatus for ray tracing, a device, a computer-readable storage medium, and a computer program product. The method comprises: projecting a ray and a triangle onto a plane coordinate system; according to the barycentric coordinate corresponding to an intersection point of the ray and the plane coordinate system, determining a positional relationship between the intersection point and a projected triangle of the triangle on the plane coordinate system; and under the condition that the intersection point is located at a common edge or a common vertex shared by the projected triangle and another triangle, determining whether the triangle is hit by the ray or not according to the coordinates of at least two vertexes of the projected triangle in the plane coordinate system.
Owner:MOORE THREADS TECH CO LTD

Tensor transpose processor

The present invention relates to a processor designed to optimize memory bandwidth utilization for tensor transpositions in machine learning. An example processor includes an input tensor shift buffer, a staging buffer, and an output tensor shift buffer. The input tensor shift buffer reads an input tensor from input memory and performs multiple cycles of input tensor shifting. The shifted tensor data is then written into the staging buffer. The output tensor shift buffer reads the shifted tensor data from the staging buffer and performs multiple cycles of output tensor shifting. Finally, the result is written to the output memory. This configuration facilitates efficient handling and transformation of tensor data, optimizing the computational processes required in machine learning tasks.
Owner:MOFFETT TECH CO LTD

Method and device for determining processing parameters for rounding multiplication circuit and modulo multiplication circuit

The embodiment of the invention provides a method and a device for determining processing parameters for a rounding multiplication circuit and a modulo multiplication circuit. The method for determining the processing parameters of the rounding multiplication circuit comprises the steps that a low-order transformation matrix used for modular multiplication is obtained, the target modulus of the modular multiplication is k-th power of r, when the low-order transformation matrix is used for applying combined operation to multiplier segments of two multipliers, the operation result shows a low-order partial segment of a product, and the lower-order partial segment of the product is k-th power of r; wherein the multiplier segment is determined by dividing a multiplier into k segments with a cardinal number of r. Secondly, target transformation is conducted on the low-order transformation matrix through a mapping matrix in an inverse diagonal form, a high-order transformation matrix used for rounding multiplication is obtained, rounding multiplication is conducted on a target modulus, and when the high-order transformation matrix is used for applying the combined operation to a multiplier segment, an operation result shows a high-order part segment of a product; the high-order transformation matrix is used as a processing parameter of the rounding multiplication circuit.
Owner:ALIPAY (HANGZHOU) INFORMATION TECH CO LTD