hottub.patents
US 12,450,486 B2#3414165 Most CitedActiveUnited States (USPTO)Utility

Depth-first deep convolutional neural network inference

0Forward Citations (#3414165 Global)
0.0/yrCitation Velocity (#3414165 Global)
0.00Citation PageRank (#3414165 Global)
6Prior Art Cited
8Claims (2 Indep. · 6 Dep.)
0Drawings / Sheets

Abstract

A method performed by a computing device includes determining a partition for depth-first processing by a multi-layer artificial neural network (ANN) of the computing device. The computing device comprising a processor, on-chip memory, and off-chip memory. The first partition determined based on an amount of on-chip memory used by the first partition, an available amount of on-chip memory, and a size of a write back to the off-chip memory. The method also includes processing, at the device via the multi-layer ANN, an input, using the depth-first processing in accordance with the partition.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 0.

Claims (8 — 2 Independent, 6 Dependent)

  1. Claim 1Independent Claim

    A method performed by a computing device comprising a processor, on-chip memory, and off-chip memory, the method comprising: determining a first partition for depth-first processing by a multi-layer artificial neural network (ANN) of the computing device, the first partition comprising a set of consecutive layers of the ANN, the first partition determined based on an amount of on-chip memory used by the first partition, an available amount of on-chip memory, and a size of data corresponding to a write back of intermediate activations to the off-chip memory, the amount of on-chip memory used by the first partition corresponding to a sum of a first amount of on-chip memory used for respective partial output of each layer of the first partition and a second amount of on-chip memory used for respective weights of each layer of the first partition, each partial output comprising a tile of one or more output activations generated in response to a corresponding portion of input activations re

  2. Claim 2Depends on #1

    The method of claim 1, in which the amount of on-chip memory used by the first partition is less than a total amount of on-chip memory.

  3. Claim 3Depends on #1

    The method of claim 1, further comprising: recursively searching for new partition locations after determining the first partition; and pruning a potential partition location based on a size of a write back to the off-chip memory by the potential partition location.

  4. Claim 4Depends on #3

    The method of claim 3, further comprising determining a second partition for the depth-first processing by the multi-layer ANN, in which layers of the second partition are different from layers of the first partition.

  5. Claim 5Depends on #1

    The method of claim 1, further comprising generating a plurality of processing cones for the first partition, each processing cone processing a different portion of the input.

  6. Claim 6Depends on #5

    The method of claim 5, in which processing the input comprises loading a portion of input activations of an initial layer of the first partition to the on-chip memory, the portion corresponding to a processing cone of the plurality of processing cones.

  7. Claim 7Depends on #6

    The method of claim 6, in which processing the input further comprises: processing the portion of the input activations with activations of portions of subsequent layers of the first partition; storing partial results of the processing to the on-chip memory; and writing an output of the processing cone to the off-chip memory.

  8. Claim 8Independent Claim

    An apparatus, comprising: at least one processor comprising on-chip memory; off-chip memory coupled with the at least one processor; and instructions stored in the off-chip memory and the on-chip memory, the instructions operable, when executed by the at least one processor, to cause the apparatus: to determine a first partition for depth-first processing by a multi-layer artificial neural network (ANN) of the apparatus, the first partition comprising a set of consecutive layers of the ANN, the first partition determined based on an amount of on-chip memory used by the first partition, an available amount of on-chip memory, and a size of data corresponding to a write back of intermediate activations to the off-chip memory, the amount of on-chip memory used by the first partition corresponding to a sum of a first amount of on-chip memory used for respective partial output of each layer of the first partition and a second amount of on-chip memory used for respective weights of each layer

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATION The present application claims the benefit of U.S. Provisional Patent Application No. 62/948,113, filed on Dec. 13, 2019, and titled “ DEPTH-FIRST DEEP CONVOLUTIONAL NEURAL NETWORK INFERENCE, ” the disclosure of which is expressly incorporated by reference herein in its entirety. BACKGROUND Field Aspects of the present disclosure generally relate to artificial neural networks, such as deep convolutional neural networks. Background Artificial neural networks may comprise interconnected groups of artificial neurons (e.g., neuron models). The artificial neural network may be a computational device or represented as a method to be performed by a computational device. Convolutional neural networks, such as deep convolutional neural networks, are a type of feed-forward artificial neural network. Convolutional neural networks may include layers of neurons that may be configured in a tiled receptive field. Deep convolutional neural networks (DCNs) are used in various technologies, such as image recognition, speech recognition, autonomous driving, and Internet of Things (IoT) devices. Resources, such as limited on-chip memory, may be constrained in embedded IoT devices. As such, the use of DCNs on these devices may be constrained. It is desirable to improve the use of DCNs on devices with limited resources. SUMMARY In one aspect of the present disclosure, method performed by a computing device is presented. The computing device may include a processor, on-chip memory, and off-chip memory. The method includes determining a first partition for depth-first processing by a multi-layer artificial neural network (ANN) of the computing device. The first partition may be determined based on an amount of on-chip memory used by the first partition, an available amount of on-chip memory, and a size of a write back to the off-chip memory. The method further includes processing, via the multi-layer ANN, an input, using the depth-first processing in

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (6)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Manoj et al.,
  • “
  • Fused-Layer CNN Accelerators
  • ”
  • , IEEE, total pp. 12, date: 2016 (Year: 2016).
  • Xavier et al.,
  • “
  • Memory usage and computational considerations
  • ”
  • , NPL, dated: Jul. 2016; pp. 1-25; retrieved from URL: