MEMORY LAYOUTS AND CONVERSION TO IMPROVE NEURAL NETWORK INFERENCE PERFORMANCE

Patent №

US 11,645,512

Granted

2023-05-09

Filed 2019

Owner

BAIDU USA LLC

Lab

AI components

2

ml · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

16399390

Memory layout and conversion are disclosed to improve neural network (NN) inference performance. For one example, a NN selects a memory layout for a neural network (NN) among a plurality of different memory layouts based on thresholds derived from performance simulations of the NN. The NN stores multi-dimensional NN kernel computation data using the selected memory layout during NN inference. The memory layouts to be selected can be a channel, height, width, and batches (CHWN) layout, a batches, height, width and channel (NHWC) layout, and a batches, channel, height and width (NCHW) layout. If the multi-dimensional NN kernel computation data is not in the selected memory layout, the NN transforms the multi-dimensional NN kernel computation data for the selected memory layout.

Machine learningAI hardwareG06N 3/063G06N 3/08G06N 3/045G06N 3/0464G06N 5/04

AI classification

AI hardware1.00
Machine learning1.00
Vision0.17
Evolutionary computation0.07
Natural language0.00
Planning0.00
Speech0.00
Knowledge representation0.00

Ownership

BAIDU USA LLC

assignment · 490380821

Assignors

GUO, MIN

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC