# US 11,442,779 B2 · Method, device and computer program product for determining resource amount for dedicated processing resources

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

- Number: US 11,442,779 B2
- Document ID: US11442779B2
- Status: Granted
- Kind: B2
- Application number: 16/239,803
- Filed: 2019-01-04
- Published: 2019-07-18
- Granted: 2022-09-13
- Earliest claimed: 2018-01-18
- Assignees: Dell Products L.P.
- Applicants: Dell Products L.P.
- Inventors: Junping Zhao; Sanping Li
- Web page: https://patentgrep.com/patent/US11442779B2

## CPC

- G06F 9/5016: {the resource being the memory}
- G06F 9/505: {considering the load}
- G06F 40/205: Parsing
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/10: Interfaces, programming languages or software development kits, e.g. for simulating neural networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Embodiments of the present disclosure relate to a method, device and computer program product for determining a resource amount of dedicated processing resources. The method comprises obtaining a structural representation of a neural network for deep learning processing, the structural representation indicating a layer attribute of the neural network that is associated with the dedicated processing resources; and determining the resource amount of the dedicated processing resources required for the deep learning processing based on the structural representation. In this manner, the resource amount of the dedicated processing resources required by the deep learning processing may be better estimated to improve the performance and resource utilization rate of the dedicated processing resource scheduling.

## Claims

### Claim 1

A method of determining a resource amount of dedicated processing resources, comprising:
obtaining a structural representation of a neural network for deep learning processing, the structural representation indicating a layer attribute of the neural network that is associated with the dedicated processing resources; and
determining the resource amount of the dedicated processing resources required for the deep learning processing based on the structural representation.

### Claim 2 (depends on 1)

The method according to claim 1, wherein obtaining the structural representation comprises:
obtaining a specific structural representation of the neural network, the specific structural representation having a specific form of representation for a deep learning application performing the deep learning processing; and
normalizing the specific structural representation as the structural representation.

### Claim 3 (depends on 2)

The method according to claim 2, wherein normalizing the specific structural representation as the structural representation comprises:
determining a layer attribute associated with a neural network layer of the neural network based on the specific structural representation; and
normalizing the specific structural representation as the structural representation based on the layer attribute.

### Claim 4 (depends on 3)

The method according to claim 3, wherein determining the layer attribute comprises determining at least one of:
an identifier of the neural network layer;
a type of the neural network layer;
an upstream neural network layer of the neural network layer;
a downstream neural network layer of the neural network layer; and
a configurable attribute of the neural network layer.

### Claim 5 (depends on 1)

The method according to claim 1, wherein obtaining the structural representation comprises:
obtaining a file containing the structural representation; and
parsing the file to obtain the structural representation.

### Claim 6 (depends on 1)

The method according to claim 1, wherein obtaining the structural representation comprises:
requesting the structural representation from a deep learning application performing the deep learning processing; and
in response to receiving a response from the deep learning application, obtaining the structural representation from the response.

### Claim 7 (depends on 1)

The method according to claim 1, wherein determining the resource amount comprises:
determining at least one of a memory resource amount and a computing resource amount of the dedicated processing resources required for the deep learning processing.

### Claim 8 (depends on 7)

The method according to claim 7, wherein determining the memory resource amount comprises:
determining a layer memory resource amount for each neural network layer of the neural network based on the structural representation, the layer memory resource amount indicating a memory of the dedicated processing resources required for a corresponding neural network layer; and
determining the memory resource amount based on a sum of the layer memory resource amounts.

### Claim 9 (depends on 7)

The method according to claim 7, wherein determining the computing resource amount comprises:
determining a layer computing resource amount for each neural network layer of the neural network based on the structural representation, the layer computing resource amount indicating a computing capability of the dedicated processing resources required for a corresponding neural network layer;
selecting, from the layer computing resource amounts, a target layer computing resource amount requiring a computing capability above a predetermined threshold; and
determining the computing resource amount based on the target layer computing resource amount.

### Claim 10

A device for determining a resource amount of dedicated processing resources, comprising:
at least one processing unit; and
at least one memory coupled to the at least one processing unit and storing instructions executed by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the device to implement acts, comprising:
obtaining a structural representation of a neural network for deep learning processing, the structural representation indicating a layer attribute of the neural network that is associated with the dedicated processing resources; and
determining the resource amount of the dedicated processing resources required for the deep learning processing based on the structural representation.

### Claim 11 (depends on 10)

The device according to claim 10, wherein obtaining the structural representation comprises:
obtaining a specific structural representation of the neural network, the specific structural representation having a specific form of representation for a deep learning application performing the deep learning processing; and
normalizing the specific structural representation as the structural representation.

### Claim 12 (depends on 11)

The device according to claim 11, wherein normalizing the specific structural representation as the structural representation comprises:
determining a layer attribute associated with a neural network layer of the neural network based on the specific structural representation; and
normalizing the specific structural representation as the structural representation based on the layer attribute.

### Claim 13 (depends on 12)

The device according to claim 12, wherein determining the layer attribute comprises determining at least one of:
an identifier of the neural network layer;
a type of the neural network layer;
an upstream neural network layer of the neural network layer;
a downstream neural network layer of the neural network layer; and
a configurable attribute of the neural network layer.

### Claim 14 (depends on 10)

The device according to claim 10, wherein obtaining the structural representation comprises:
obtaining a file containing the structural representation; and
parsing the file to obtain the structural representation.

### Claim 15 (depends on 10)

The device according to claim 10, wherein obtaining the structural representation comprises:
requesting the structural representation from a deep learning application performing the deep learning processing; and
in response to receiving a response from the deep learning application, obtaining the structural representation from the response.

### Claim 16 (depends on 10)

The device according to claim 10, wherein determining the resource amount comprises:
determining at least one of a memory resource amount and a computing resource amount of the dedicated processing resources required for the deep learning processing.

### Claim 17 (depends on 16)

The device according to claim 16, wherein determining the memory resource amount comprises:
determining a layer memory resource amount for each neural network layer of the neural network based on the structural representation, the layer memory resource amount indicating a memory of the dedicated processing resources required for a corresponding neural network layer; and
determining the memory resource amount based on a sum of the layer memory resource amounts.

### Claim 18 (depends on 16)

The device according to claim 16, wherein determining the computing resource amount comprises:
determining a layer computing resource amount for each neural network layer of the neural network based on the structural representation, the layer computing resource amount indicating a computing capability of the dedicated processing resources required for a corresponding neural network layer;
selecting, from the layer computing resource amounts, a target layer computing resource amount requiring a computing capability above a predetermined threshold; and
determining the computing resource amount based on the target layer computing resource amount.

### Claim 19

A computer program product being tangibly stored on a non-transient computer readable medium and comprising machine executable instructions, the machine executable instructions, when executed, cause a machine to perform steps of a method of determining a resource amount of dedicated processing resources, comprising:
obtaining a structural representation of a neural network for deep learning processing, the structural representation indicating a layer attribute of the neural network that is associated with the dedicated processing resources; and
determining the resource amount of the dedicated processing resources required for the deep learning processing based on the structural representation.
