Skip to content

Commit

Permalink
add dim order into executorch concept documentation
Browse files Browse the repository at this point in the history
Summary: as title

Differential Revision: D60081081
  • Loading branch information
Gasoonjia authored and facebook-github-bot committed Jul 22, 2024
1 parent 0e2b205 commit ae9c14a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/source/concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ An interface that enables the ExecuTorch runtime to read from a file or other da

To run parts (or all) of a program on a specific backend (eg. XNNPACK) while the rest of the program (if any) runs on the basic ExecuTorch runtime. Delegation enables us to leverage the performance and efficiency benefits of specialized backends and hardware.

## Dim Order

Dimension order, the ExecuTorch way to describe tensor's memory format by explicitly stating the order of dimensions from outermost to innermost.

For example, for the [N, H, W, C], or [channels_last memory format](https://pytorch.org/tutorials/intermediate/memory_format_tutorial.html), we use [0, 2, 3, 1] to record its dim order.

Currently ExecuTorch only supports dim order representation for [contiguous](https://pytorch.org/blog/tensor-memory-format-matters/) and [channels_last](https://pytorch.org/tutorials/intermediate/memory_format_tutorial.html) memory format.

## DSP (Digital Signal Processor)

Specialized microprocessor chip with architecture optimized for digital signal processing.
Expand Down

0 comments on commit ae9c14a

Please sign in to comment.