US 10789402
Compiler and hardware abstraction layer architecture for a neural network accelerator
Granted 2020-09-29 · Filed 2019-05-01 · Application 16/400,690 · Utility · Kind B1
- Assignee as printed
- XILINX, INC., San Jose, CA (US) · PatentsView label: Xilinx, Inc.
- Inventors
- Kumar S. S. Vemuri, Hyderabad (IN); Abid Karumannil, Malappuram (IN); Venkataraju Koppada, Hyderabad (IN); Anitha Barri, Hyderabad (IN); Anusha Perla, Hyderabad (IN); Vishal Jain, Chhindwara (IN); Sairam K. M. Menon, Hyderabad (IN); Anil K. Martha, Warangal (IN)
- CPC, current
- G06F30/327; G06F30/331; G06F30/27; G06N3/04; G06N3/0464; G06N3/063; G06N3/082; G06F2207/4824
Abstract
Examples herein describe a method for a compiler and hardware-abstraction-layer architecture for a programmable integrated circuit (IC). In one embodiment, a method for mapping and porting a neural network to an integrated circuit (IC) is disclosed. The method includes receiving a network description of the neural network; generating a framework independent network graph based on the network description; performing a plurality of back-end operations on the network graph to generate an execution sequence vector; and configuring the IC based on the execution sequence vector.
The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.
Claim 1
Independent claim.
1. A method for mapping and porting a neural network to an integrated circuit (IC), the method comprising:
- Claim 1, element e1receiving a framework dependent network description of the neural network; 107–180
- Claim 1, element e2generating a framework independent and hardware agnostic network graph based on the framework dependent network description and a type of a framework in which the network description was generated; 182–378
- Claim 1, element e3performing a plurality of back-end operations on the framework independent and hardware agnostic network graph to generate an execution sequence vector; and 380–531
- Claim 1, element e4configuring the IC based on the execution sequence vector.537–594
15 dependent claims: 2 to 16 (2, 4, 6, 8, 9, 10, 12, 16 on claim 1; 3 on 2; 5 on 4; 7 on 6; 11 on 10; 13, 14, 15 on 12)
Claim 2
Depends on claim 1.
2. The method of claim 1 , wherein
- Claim 2, element e1performing the plurality of back-end operations comprises performing at least one hardware-independent optimization.35–150
Claim 3
Depends on claim 2.
3. The method of claim 2 , wherein
- Claim 3, element e1performing the at least one hardware-independent optimization comprises performing one of the following: 35–138
- Claim 3, element e2parallel 1×1 convolutions fuse optimizations, software fuse optimizations, dropout optimizations, reshape optimizations, flatten optimizations, concatenation layer optimizations, custom layer optimizations, prior box optimizations, and training layer removal optimizations.140–412
Claim 4
Depends on claim 1.
4. The method of claim 1 , wherein
- Claim 4, element e1performing the plurality of back-end operations comprises performing at least one hardware-dependent optimization.35–148
Claim 5
Depends on claim 4.
5. The method of claim 4 , wherein
- Claim 5, element e1performing the at least one hardware-dependent optimization comprises performing one of the following: 35–136
- Claim 5, element e2convolution and Rectified Linear Unit (ReLU) optimizations, hardware fusion optimization, Concatenated ReLu (CReLU) optimizations, ElementWise Addition optimizations, ReLU optimizations, 3D separable convolution optimizations, and deconvolution optimizations.138–396
Claim 6
Depends on claim 1.
6. The method of claim 1 , wherein
- Claim 6, element e1the plurality of back-end operations comprises: 35–81
- Claim 6, element e2refining the framework independent and hardware agnostic network graph into a hardware-dependent network graph via hardware-independent optimizations and hardware-dependent optimizations; 83–269
- Claim 6, element e3assigning sequence identifiers to each layer of the hardware-dependent network graph; and 271–355
- Claim 6, element e4generating the execution sequence vector comprising a sequential queue of the layers of the hardware-dependent network graph.361–485
Claim 7
Depends on claim 6.
7. The method of claim 6 , wherein
- Claim 7, element e1generating the execution sequence vector comprises optimizing buffer handles for reuse between layers of the hardware-dependent network graph.35–176
Claim 8
Depends on claim 1.
8. The method of claim 1 , wherein
- Claim 8, element e1generating the framework independent and hardware agnostic network graph comprises generating layer nodes corresponding to layers of the neural network and buffer nodes between the layer nodes.35–227
Claim 9
Depends on claim 1.
9. The method of claim 1 , wherein
- Claim 9, element e1the plurality of back-end operations comprises allocating buffer handles for a plurality of layers of the framework independent and hardware agnostic network graph.35–198
Claim 10
Depends on claim 1.
10. The method of claim 1 , wherein
- Claim 10, element e1configuring the IC comprises calibrating a plurality of hardware runtime parameters of the IC based on the execution sequence vector.36–168
Claim 11
Depends on claim 10.
11. The method of claim 10 , wherein
- Claim 11, element e1calibrating the plurality of hardware runtime parameters of the IC based on the execution sequence vector comprises computing scalar parameters to program the IC.37–198
Claim 12
Depends on claim 1.
12. The method of claim 1 , wherein
- Claim 12, element e1configuring the IC comprises scheduling the plurality of commands of the execution sequence vector for a plurality of processing elements of the IC.36–183
Claim 13
Depends on claim 12.
13. The method of claim 12 , wherein
- Claim 13, element e1scheduling the plurality of commands of the execution sequence vector for the plurality of processing elements of the IC comprises dispatching the plurality of commands to DPEs of the IC for processing.37–238
Claim 14
Depends on claim 12.
14. The method of claim 12 , wherein
- Claim 14, element e1scheduling the plurality of commands comprises: 37–83
- Claim 14, element e2separating the plurality of commands into a plurality of command queues based on a processing element of the plurality of processing elements used to process a command; 85–252
- Claim 14, element e3determining whether the command has dependencies; and 254–302
- Claim 14, element e4asynchronously dispatching the command to the processing element for processing.308–387
Claim 15
Depends on claim 12.
15. The method of claim 12 , wherein
- Claim 15, element e1scheduling the plurality of commands further comprises: 37–91
- Claim 15, element e2receiving a command completion response from a processing element of the plurality of processing elements; and 93–198
- Claim 15, element e3asynchronously dispatching a next command to the processing element.204–271
Claim 16
Depends on claim 1.
16. The method of claim 1 , further comprising
- Claim 16, element e1allocating a plurality of software and hardware buffers based on the execution sequence vector by configuring the plurality of software and hardware buffers based on a plurality of commands of the execution sequence vector.47–269
Claim 17
Independent claim.
17. A system comprising:
- Claim 17, element e1a processor; and 25–36
- Claim 17, element e2non-transitory computer-readable storage medium embodying computer program instructions for mapping and porting a neural network to an integrated circuit (IC), the computer program instructions implementing a method, the method comprising: 42–280
- Claim 17, element e3receiving a network description of the neural network; 282–335
- Claim 17, element e4generating a framework independent and hardware agnostic network graph based on the network description and a type of a framework in which the network description was generated; 337–513
- Claim 17, element e5performing a plurality of back-end operations on the framework independent and hardware agnostic network graph to generate an execution sequence vector; and 515–666
- Claim 17, element e6configuring the IC based on the execution sequence vector.672–729
3 dependent claims: 18 to 20 (18, 19, 20 on claim 17)
Claim 18
Depends on claim 17.
18. The system of claim 17 , wherein
- Claim 18, element e1configuring the IC comprises scheduling the plurality of commands of the execution sequence vector for a plurality of components of the IC by dispatching the plurality of commands to DPEs of the IC for processing.37–249
Claim 19
Depends on claim 17.
19. The system of claim 17 , wherein
- Claim 19, element e1configuring the IC comprises: 37–65
- Claim 19, element e2scheduling the plurality of commands of the execution sequence vector for a plurality of components of the IC by separating the plurality of commands into a plurality of command queues based on a processing element used to process a command; 67–307
- Claim 19, element e3determining whether the command has dependencies; and 309–357
- Claim 19, element e4asynchronously dispatching the command to the processing element for processing.363–442
Claim 20
Depends on claim 17.
20. The system of claim 17 , wherein
- Claim 20, element e1the plurality of back-end operations comprises: 37–83
- Claim 20, element e2refining the framework independent and hardware agnostic network graph into a hardware-dependent network graph via hardware-independent optimizations and hardware-dependent optimizations; 85–271
- Claim 20, element e3assigning sequence identifiers to each layer of the hardware-dependent network graph; and 273–357
- Claim 20, element e4generating the execution sequence vector comprising a sequential queue of the layers of the hardware-dependent network graph.363–487
1. A method for mapping and porting a neural network to an integrated circuit (IC), the method comprising: receiving a framework dependent network description of the neural network; generating a framework independent and hardware agnostic network graph based on the framework dependent network description and a type of a framework in which the network description was generated; performing a plurality of back-end operations on the framework independent and hardware agnostic network graph to generate an execution sequence vector; and configuring the IC based on the execution sequence vector.
2. The method of claim 1 , wherein performing the plurality of back-end operations comprises performing at least one hardware-independent optimization.
3. The method of claim 2 , wherein performing the at least one hardware-independent optimization comprises performing one of the following: parallel 1×1 convolutions fuse optimizations, software fuse optimizations, dropout optimizations, reshape optimizations, flatten optimizations, concatenation layer optimizations, custom layer optimizations, prior box optimizations, and training layer removal optimizations.
4. The method of claim 1 , wherein performing the plurality of back-end operations comprises performing at least one hardware-dependent optimization.
5. The method of claim 4 , wherein performing the at least one hardware-dependent optimization comprises performing one of the following: convolution and Rectified Linear Unit (ReLU) optimizations, hardware fusion optimization, Concatenated ReLu (CReLU) optimizations, ElementWise Addition optimizations, ReLU optimizations, 3D separable convolution optimizations, and deconvolution optimizations.
6. The method of claim 1 , wherein the plurality of back-end operations comprises: refining the framework independent and hardware agnostic network graph into a hardware-dependent network graph via hardware-independent optimizations and hardware-dependent optimizations; assigning sequence identifiers to each layer of the hardware-dependent network graph; and generating the execution sequence vector comprising a sequential queue of the layers of the hardware-dependent network graph.
7. The method of claim 6 , wherein generating the execution sequence vector comprises optimizing buffer handles for reuse between layers of the hardware-dependent network graph.
8. The method of claim 1 , wherein generating the framework independent and hardware agnostic network graph comprises generating layer nodes corresponding to layers of the neural network and buffer nodes between the layer nodes.
9. The method of claim 1 , wherein the plurality of back-end operations comprises allocating buffer handles for a plurality of layers of the framework independent and hardware agnostic network graph.
10. The method of claim 1 , wherein configuring the IC comprises calibrating a plurality of hardware runtime parameters of the IC based on the execution sequence vector.
11. The method of claim 10 , wherein calibrating the plurality of hardware runtime parameters of the IC based on the execution sequence vector comprises computing scalar parameters to program the IC.
12. The method of claim 1 , wherein configuring the IC comprises scheduling the plurality of commands of the execution sequence vector for a plurality of processing elements of the IC.
13. The method of claim 12 , wherein scheduling the plurality of commands of the execution sequence vector for the plurality of processing elements of the IC comprises dispatching the plurality of commands to DPEs of the IC for processing.
14. The method of claim 12 , wherein scheduling the plurality of commands comprises: separating the plurality of commands into a plurality of command queues based on a processing element of the plurality of processing elements used to process a command; determining whether the command has dependencies; and asynchronously dispatching the command to the processing element for processing.
15. The method of claim 12 , wherein scheduling the plurality of commands further comprises: receiving a command completion response from a processing element of the plurality of processing elements; and asynchronously dispatching a next command to the processing element.
16. The method of claim 1 , further comprising allocating a plurality of software and hardware buffers based on the execution sequence vector by configuring the plurality of software and hardware buffers based on a plurality of commands of the execution sequence vector.
17. A system comprising: a processor; and non-transitory computer-readable storage medium embodying computer program instructions for mapping and porting a neural network to an integrated circuit (IC), the computer program instructions implementing a method, the method comprising: receiving a network description of the neural network; generating a framework independent and hardware agnostic network graph based on the network description and a type of a framework in which the network description was generated; performing a plurality of back-end operations on the framework independent and hardware agnostic network graph to generate an execution sequence vector; and configuring the IC based on the execution sequence vector.
18. The system of claim 17 , wherein configuring the IC comprises scheduling the plurality of commands of the execution sequence vector for a plurality of components of the IC by dispatching the plurality of commands to DPEs of the IC for processing.
19. The system of claim 17 , wherein configuring the IC comprises: scheduling the plurality of commands of the execution sequence vector for a plurality of components of the IC by separating the plurality of commands into a plurality of command queues based on a processing element used to process a command; determining whether the command has dependencies; and asynchronously dispatching the command to the processing element for processing.
20. The system of claim 17 , wherein the plurality of back-end operations comprises: refining the framework independent and hardware agnostic network graph into a hardware-dependent network graph via hardware-independent optimizations and hardware-dependent optimizations; assigning sequence identifiers to each layer of the hardware-dependent network graph; and generating the execution sequence vector comprising a sequential queue of the layers of the hardware-dependent network graph.
The text of each claim as printed, for pasting a claim word for word. The links in the tree view name the same claims and elements.
Status
active
As of 2026-11-17, the USPTO record for US 10789402 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2039-05-01 (20 years from filing), a date not yet passed (data version 20261117.2).
- Basis
- term_20y (20 years from filing)
- Term end
- 2039-05-01 Computed from the dates in the USPTO record
- Fee lapse
- none on record
- Reinstatement
- none on record; reinstatement_possible: false, not lapsed
- As of
- 2026-11-17
- Data version
- 20261117.2
A fact about the record with its basis and its as-of date, not legal advice.
Citations
References cited on the grant: 2 US patent documents · Cited by: 47 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10789402/ (needs a free key, as the links under Get this as data)
Family outside the US
Google Patents Public Datasets lists no publication outside the US in this patent's family (read 2026-10-15).
This patent's family on USPTO Global Dossier
Family data from Google Patents Public Datasets, used under CC BY 4.0.
Record JSON
{
"patent_id": "10789402",
"status": "active",
"basis": [
"term_20y"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2039-05-01",
"lapse_date": null,
"reinstated_date": null,
"as_of": "2026-11-17",
"data_version": "20261117.2",
"catalog_data_version": "20261117.2",
"permalink": "https://patentref.io/p/10789402?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/10789402?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/10789402/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=10789402",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/10789402/ - Status record
/api/v1/lapse/status/10789402/ - Claim tree
/api/v1/structure/claims/10789402/ - Brief
/api/v1/structure/brief/10789402/
These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.