# US 2025/0156699 A1 · Performing pooling operations

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

- Number: US 2025/0156699 A1
- Document ID: US20250156699A1
- Status: Published application
- Kind: A1
- Application number: 18/932,176
- Filed: 2024-10-30
- Published: 2025-05-15
- Earliest claimed: 2023-11-15
- Assignees: Cypress Semiconductor Corporation
- Applicants: Cypress Semiconductor Corporation
- Inventors: Vijay Deep BHATT; Ashutosh PANDEY
- Web page: https://patentgrep.com/patent/US20250156699A1

## CPC

- G06N 3/063: using electronic means
- G06N 3/08: Learning methods
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A coprocessor of a processing device used to perform pooling operations. The disclosed coprocessor, among other things, receives an activation tensor of a neural network model. The coprocessor applies a pooling window to the activation tensor. The coprocessor reads, from a memory device, a plurality of memory locations. For each memory location, the coprocessor stores a value from a respective memory location associated with a channel of the activation tensor to a corresponding buffer of a set of buffers. Responsive to determining a number of values in each buffer of the set of buffers matches a number of values within the pooling window applied to the activation tensor performing, for each buffer using its values, a pooling operation.

## Claims

### Claim 1

A method comprising:
receiving, by a coprocessor of a processing device, a command to performing pooling operations on an activation tensor of a neural network model, wherein the activation tensor includes a set of channels;
applying a pooling window to the activation tensor;
obtaining, from a plurality of memory locations of a memory device, one or more values present in the pooling window applied to the activation tensor;
for each memory location of the plurality of memory locations, storing a value associated with a channel of set of channels into a corresponding buffer of a set of buffers, wherein each buffer is associated with a channel of the activation tensor;
responsive to determining that each buffer of the set of buffers contains the values within the pooling window when applied to a corresponding channel of the activation tensor, performing, for each buffer, a pooling operation using the values of a respective buffer.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
combining an output of each pooling operation; and
storing the combined output in a memory location of the plurality of memory locations.

### Claim 3 (depends on 1)

The method of claim 1, wherein applying the pooling window to the activation tensor comprises:
moving the pooling window having a predefined size across the activation tensor by a predefined stride in at least one dimension of the activation tensor between successive performance of the pooling operation for the set of buffers.

### Claim 4 (depends on 1)

The method of claim 1, wherein the activation tensor is stored in the plurality of memory locations using a channel-last format.

### Claim 5 (depends on 1)

The method of claim 1, wherein an output of the pooling operations a maximum value from the values of the respective buffer.

### Claim 6 (depends on 1)

The method of claim 1, wherein an output of the pooling operations an average of the values of the respective buffer.

### Claim 7 (depends on 1)

The method of claim 1, wherein the neural network model is a deep neural network.

### Claim 8

A coprocessor coupled to a processing device and a memory device, wherein the coprocessor is to perform operations comprising:
receiving, from the processing device, a command to performing pooling operations on an activation tensor of a neural network model, wherein the activation tensor includes a set of channels;
applying a pooling window to the activation tensor;
obtaining, from a plurality of memory locations of a memory device, one or more values present in the pooling window applied to the activation tensor;
for each memory location of the plurality of memory locations, storing a value associated with a channel of set of channels into a corresponding buffer of a set of buffers, wherein each buffer is associated with a channel of the activation tensor;
responsive to determining that each buffer of the set of buffers contains the values within the pooling window when applied to a corresponding channel of the activation tensor, performing, for each buffer, a pooling operation using the values of a respective buffer.

### Claim 9 (depends on 8)

The coprocessor of claim 8, wherein the coprocessor is to perform operations further comprising:
combining an output of each pooling operation; and
storing the combined output in a memory location of the plurality of memory locations.

### Claim 10 (depends on 8)

The coprocessor of claim 8, wherein applying the pooling window to the activation tensor comprises:
moving the pooling window having a predefined size across the activation tensor by a predefined stride in at least one dimension of the activation tensor between successive performance of the pooling operation for the set of buffers.

### Claim 11 (depends on 8)

The coprocessor of claim 8, wherein the activation tensor is stored in the plurality of memory locations using a channel-last format.

### Claim 12 (depends on 8)

The coprocessor of claim 8, wherein an output of the pooling operations a maximum value from the values of the respective buffer.

### Claim 13 (depends on 8)

The coprocessor rof claim 8, wherein an output of the pooling operations an average of the values of the respective buffer.

### Claim 14 (depends on 8)

The coprocessor of claim 8, wherein the neural network model is a deep neural network.

### Claim 15

A system comprising:
a memory device;
a processing device; and
a coprocessor, wherein the coprocessor and the processing device is coupled to the memory device, and wherein the coprocessor is to perform operations comprising:
receiving, from a processing device coupled to the coprocessor, a command to performing pooling operations on an activation tensor of a neural network model, wherein the activation tensor includes a set of channels;
applying a pooling window to the activation tensor;
obtaining, from a plurality of memory locations of a memory device, one or more values present in the pooling window applied to the activation tensor;
for each memory location of the plurality of memory locations, storing a value associated with a channel of set of channels into a corresponding buffer of a set of buffers, wherein each buffer is associated with a channel of the activation tensor;
responsive to determining that each buffer of the set of buffers contains the values within the pooling window when applied to a corresponding channel of the activation tensor, performing, for each buffer, a pooling operation using the values of a respective buffer.

### Claim 16 (depends on 15)

The system of claim 15, wherein the coprocessor is to perform operations further comprising:
combining an output of each pooling operation; and
storing the combined output in a memory location of the plurality of memory locations.

### Claim 17 (depends on 15)

The system of claim 15, wherein applying the pooling window to the activation tensor comprises:
moving the pooling window having a predefined size across the activation tensor by a predefined stride in at least one dimension of the activation tensor between successive performance of the pooling operation for the set of buffers.

### Claim 18 (depends on 15)

The system of claim 15, wherein the activation tensor is stored in the plurality of memory locations using a channel-last format.

### Claim 19 (depends on 15)

The system of claim 15, wherein an output of the pooling operation is one of: a maximum value from the values of the respective buffer or an average of the values of the respective buffer.

### Claim 20 (depends on 15)

The system of claim 15, wherein the neural network model is a deep neural network.
