# US 2022/0044101 A1 · Collaborative sensor data processing by deep learning accelerators with integrated random access memory

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0044101 A1
- Document ID: US20220044101A1
- Status: Published application
- Kind: A1
- Application number: 16/987,095
- Filed: 2020-08-06
- Published: 2022-02-10
- Earliest claimed: 2020-08-06
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Poorna Kale
- Web page: https://patentgrep.com/patent/US20220044101A1

## CPC

- G06N 3/063: using electronic means
- G06F 9/3001: {Arithmetic instructions}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 13/1668: {Details of memory controller}
- G06F 15/16: Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs {(coordinating program control therefor G06F9/52; in regulating and control system G05B)}
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 3/098: Distributed learning, e.g. federated learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems, devices, and methods related to a Deep Learning Accelerator and memory are described. For example, an integrated circuit device may be configured to execute instructions with matrix operands and configured with random access memory. The random access memory is configured to store input data from a sensor, parameters of a first portion of an Artificial Neural Network (ANN), instructions executable by the Deep Learning Accelerator to perform matrix computation of the first portion of the ANN, and data generated outside of the device according to a second portion of the ANN. The Deep Learning Accelerator may execute the instructions to generate, independent of the data from the second portion of the ANN, a first output based on the input data from the sensor and generate a second output based on a combination of the data from the sensor and the data from the second portion of the ANN.

## Claims

### Claim 1

A method, comprising:
receiving, in a device having a first portion of an artificial neural network, data from a sensor and an input generated outside of the device according to a second portion of the artificial neural network, the artificial neural network configured to generate at least one output based on a plurality of sensors, including the sensor connected to the device;
executing, by the device, instructions to implement matrix computations of the first portion of the artificial neural network to generate a first output independent of the input generated outside of the device; and
generating, by the device, a second output according to the first portion of the artificial neural network based on a combination of the data from the sensor and the input data generated outside of the device according to a second portion of the artificial neural network.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
writing, into the random access memory of the device, instructions of an application;
executing, by a central process unit of the device, the instructions of the application to convert a description of the artificial neural network into:
data representative of parameters of portions of the artificial neural network, and
data representative of instructions executable to implement matrix computations of the portions of the artificial neural network;
distributing computation tasks of the portions of the artificial neural network to a plurality of devices.

### Claim 3 (depends on 2)

The method of claim 2, wherein the artificial neural network is configured to generate an output from a plurality of imaging devices, including the sensor; a portion of the plurality of imaging devices is not configured in the device; a portion of the first output includes features recognized from the data from the sensor by the first portion of the artificial neural network; and the method further comprises:
communicating, via at least one interface of the device, with at least one external device to obtain the input generated outside of the device according to the second portion of the artificial neural network; and
communicating, via the at least one interface, with the at least one external device to provide the portion of the first output as an input to a third portion of the artificial neural network.

### Claim 4 (depends on 3)

The method of claim 3, wherein an output of the artificial neural network includes an identification or classification of an object captured in image data generated by the plurality of imaging devices.

### Claim 5

A device, comprising:
random access memory;
at least one interface configured to receive data from a sensor as an input to at least a first portion of an artificial neural network and to receive an input generated outside of the device according to a second portion of the artificial neural network, the artificial neural network configured to generate at least one output based on a plurality of sensors, including the sensor connected to the device; and
at least one processing unit coupled to the random access memory and the at least one interface to execute instructions having matrix operands to implement the matrix computations of the first portion of the artificial neural network, the first portion of the artificial neural network configured to process the data from the sensor to generate a first output independent of the input generated outside of the device according to the second portion of the artificial neural network and to generate a second output based on a combination of the data from the sensor and the input generated outside of the device according to the second portion of the artificial neural network.

### Claim 6 (depends on 5)

The device of claim 5, further comprising:
the sensor configured within the device, wherein the first output includes an identification or classification of an object determined independent of the input generated outside of the device according to the second portion of the artificial neural network.

### Claim 7 (depends on 6)

The device of claim 6, wherein the sensor is a first sensor; and the input generated according to the second portion of the artificial neural network is based on data from a second sensor configured outside of the device.

### Claim 8 (depends on 7)

The device of claim 7, wherein the first sensor and the second sensor are imaging sensors; and the second output includes an identification or classification of the object determined based on both the first sensor and the second sensor.

### Claim 9 (depends on 5)

The device of claim 5, wherein computation of a third portion of the artificial neural network is configured outside of the device; and the at least one interface is configured to provide at least a portion of the first output to outside of the device as an input to the third portion of the artificial neural network.

### Claim 10 (depends on 9)

The device of claim 9, wherein the portion of the first output includes features in the data from the sensor recognized via the first portion of the artificial neural network.

### Claim 11 (depends on 9)

The device of claim 9, wherein the device is further configured to communicate via the at least one interface to identify an external device operable to implement matrix computations of the third portion of the artificial neural network and write the portion of the first output into random access memory of the external device.

### Claim 12 (depends on 5)

The device of claim 5, wherein the device is further configured to communicate through the at least one interface to determine whether to perform computation to generate the second output; and wherein the first output is generated independent of whether the computation to generate the second output is performed.

### Claim 13 (depends on 5)

The device of claim 5, further comprising:
a central process unit configured to run an application stored in the random access memory, wherein the application is configured to generate, based on a description of the artificial neural network,
data representative of parameters of portions of the artificial neural network, and
data representative of instructions executable to implement matrix computations of the portions of the artificial neural network;
wherein the application is further configured to distribute computations of the portions of the artificial neural network to a plurality of devices; and
wherein the at least one interface includes a plurality of interfaces configured to be connected to the plurality of devices over a plurality of serial connections respectively.

### Claim 14 (depends on 5)

The device of claim 5, further comprising:
an integrated circuit die of a Field-Programmable Gate Array (FPGA) or Application Specific Integrated circuit (ASIC) implementing a Deep Learning Accelerator, the Deep Learning Accelerator comprising the at least one processing unit, and a control unit configured to load the instructions from the random access memory for execution.

### Claim 15 (depends on 14)

The device of claim 14, wherein the at least one processing unit includes a matrix-matrix unit configured to operate on two matrix operands of an instruction;
wherein the matrix-matrix unit includes a plurality of matrix-vector units configured to operate in parallel;
wherein each of the plurality of matrix-vector units includes a plurality of vector-vector units configured to operate in parallel; and
wherein each of the plurality of vector-vector units includes a plurality of multiply-accumulate units configured to operate in parallel.

### Claim 16 (depends on 15)

The device of claim 15, wherein the random access memory and the Deep Learning Accelerator are formed on separate integrated circuit dies and connected by Through-Silicon Vias (TSVs); and the device further comprises:
an integrated circuit package configured to enclose at least the random access memory and the Deep Learning Accelerator.

### Claim 17

An apparatus, comprising:
memory configured to store first data representative of parameters of a first portion of an artificial neural network, second data representative of instructions executable to implement matrix computations of the first portion the artificial neural network using at least the first data stored in the memory, third data from a sensor, and fourth data generated outside of the apparatus according to a second portion of the artificial neural network;
at least one interface configured to receive the fourth data from outside of the apparatus and store the fourth data into the memory;
a connection to the memory; and
a Field-Programmable Gate Array (FPGA) or Application Specific Integrated circuit (ASIC) having:
a memory interface configure to access the memory via the connection; and
at least one processing unit configured to execute the instructions having matrix operands to implement the matrix computations of first portion of the artificial neural network, the first portion of the artificial neural network configured to process the third data from the sensor to generate a first output independent of the fourth data and to generate a second output based on a combination of the third data from the sensor and the fourth data generated according to the second portion of the artificial neural network.

### Claim 18 (depends on 17)

The apparatus of claim 17, further comprising:
a central process unit configured to execute instructions of a compiler configured to partition the artificial neural network into portions, generate from a description of the artificial neural network to a plurality of datasets representative of the portions of the artificial neural network, and distribute the plurality of datasets to a plurality of integrated circuit devices, each of the plurality of integrated circuit devices operable to implement computations of a portion of the artificial neural network based on a corresponding dataset in the plurality of datasets.

### Claim 19 (depends on 17)

The apparatus of claim 17, further comprising:
the sensor configured within the apparatus;
wherein the first output includes a first identification or classification of an object determined independent of the fourth data; and
wherein the second output includes a second identification or classification of the object determined from the third data and the fourth data.

### Claim 20 (depends on 17)

The apparatus of claim 17, wherein the at least one interface includes a serial communications interface to an integrated circuit device configured outside of the apparatus and having an FPGA or ASIC operable to implement matrix computations of the artificial neural network; and the apparatus includes a radar imaging device, a lidar imaging device, a digital camera, an infrared camera, or an ultrasound imaging device, or any combination thereof.
