IP Library Granted Patent US 11,954,573
Granted Patent B2
US 11,954,573 · App. 16/286,323 · Granted Apr 9, 2024

Convolutional neural network using adaptive 3D array

Inventors: Xiangdong Jin (Mountain View, CA); Fen Zhou (Fremont, CA); Chengyu Xiong (San Jose, CA)
Assignee: Black Sesame Technologies Inc.
G06N3/04G06N3/063
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,954,573
App. No.
16/286,323
Granted
Apr 9, 2024
Kind
B2
Abstract

A method of constructing an adaptive multiply accumulate layer in a convolutional neural network, including determining an activation data map width, an activation data map height, a channel depth, a batch, a kernel width, a kernel height and a filter set number, setting a first dimension of an adaptive multiplier layer based on the activation data map width, setting a second dimension of the adaptive multiplier layer based on the channel depth, setting a third dimension of the adaptive multiplier layer based on the filter set number and constructing the adaptive multiplier layer based on the first dimension, the second dimension and the third dimension.

Claims (34)

1. A method of training a hybrid computational system to configure a three-dimensional (3D) multiplier array comprising a predetermined number of multipliers in a convolutional neural network, the hybrid computational system comprises a field programmable gate array, a graphical processor unit, a central processing unit, a memory interface, and a controller all connected to each other via a central interconnect, and is configured to perform the method steps comprising:

determining a set of model data with a deterministic inference model using the graphical processor unit of the hybrid computational system;

programming the field programmable gate array to perform the steps further comprising:

determining activation data dimensions comprising an activation data map width, an activation data map height, a channel depth, and a batch number:

determining dimensions of filter weights comprising Kernel width, Kernel height, Kernel depth, and filter number, wherein the Kernel depth matches the channel depth; and

configuring the 3D multiplier array to increase a rate of utilization of multipliers when performing a multiply accumulate operation, wherein configuring the 3D multiplier array comprises:

in response to determining that the activation data map width is not a multiple of a first dimension of the 3D multiplier array, configuring the first dimension of the 3D multiplier array to concurrently compute for the activation data map width and the activation data map height:

configuring a second dimension of the 3D multiplier array to concurrently compute for the channel depth, the Kernel width, and the Kernel height; and

configuring a third dimension of the 3D multiplier array to compute for the filter number.

2. The method of claim 1 , further comprising:

configuring the first dimension of the 3D multiplier array to be one of the following: one half, one fourth, and equivalent to a size of the activation data map width.

3. The method of claim 1 , further configure:

configuring the second dimension of the 3D multiplier array to be one of the following: one half, one fourth, and equivalent to a size of the channel depth.

4. The method of claim 1 , further comprising:

configuring the third dimension of the multiplier layer is one of the following: one half, one fourth, and equivalent to a size of the filter set number.

5. The method of claim 1 , further comprising:

summing a layer set within the summation of the activation data map height and

summing a batch within the summation of the layer set.

6. The method of claim 5 , further comprising concurrently summing the kernel height and the kernel width, wherein the kernel height and the kernel width are summed within one loop.

7. The method of claim 1 , further comprising concurrently summing the kernel height and the kernel width, wherein the kernel height and the kernel width are summed within one loop.

8. The method of claim 1 , further comprising:

summing the channel depth within the summation of the kernel width;

summing the activation data map width within the summation of the channel depth;

summing a filter set within the summation of the activation data map height;

summing a layer set within the summation of the filter set number; and

summing a batch within the summation of the layer set.

9. The method of claim 8 , further comprising:

concurrently summing the activation data map width and the activation data map height to yield a concurrent result, wherein the activation data map width and the activation data map height are summed within one loop; and

dividing the concurrent result by the activation data map width.

10. The method of claim 9 , further comprising concurrently summing the channel depth, the kernel width and the kernel height, wherein the channel depth, the kernel width and the kernel height are summed within one loop.

11. The method of claim 1 , wherein the memory and the interface controller are further connected to a persistent memory disk, a system memory, and a read only memory.

12. The method of claim 1 , wherein the field programmable gate array is further connected to the memory interface via an interconnect from a programmable logic circuit to memory.

13. The method of claim 1 , wherein the central interconnect is further connected to an input and output interface and a network interface.

14. The method of claim 1 , wherein the field programmable gate array, the graphical processor unit, and the central processing unit are each capable of providing a neural net.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 3, 2021
From: BLACK SESAME INTERNATIONAL HOLDING LIMITED
To: BLACK SESAME TECHNOLOGIES INC.
Reel/Frame 058301/0364 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 23, 2019
From: JIN, XIANGDONG; ZHOU, FEN; XIONG, CHENGYU
To: BLACK SESAME INTERNATIONAL HOLDING LIMITED
Reel/Frame 050158/0687 →
Continuity (2)
Provisional Application 62727929 · Sep 6, 2018
Related Publication 20200082242A1 · Mar 12, 2020