Papers › Neural networks on microcontrollers: saving memory at inference via operator reordering

Neural networks on microcontrollers: saving memory at inference via operator reordering

2 Oct 2019arXiv:1910.05110archive 2025-07-28

Edgar Liberis, Nicholas D. Lane

Designing deep learning models for highly-constrained hardware would allow imbuing many edge devices with intelligence. Microcontrollers (MCUs) are an attractive platform for building smart devices due to their low cost, wide availability, and modest power usage. However, they lack the computational resources to run neural networks as straightforwardly as mobile or server platforms, which necessitates changes to the network architecture and the inference software. In this work, we discuss the deployment and memory concerns of neural networks on MCUs and present a way of saving memory by changing the execution order of the network's operators, which is orthogonal to other compression methods. We publish a tool for reordering operators of TensorFlow Lite models and demonstrate its utility by sufficiently reducing the memory footprint of a CNN to deploy it on an MCU with 512KB SRAM.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1910.05110")

Code

Syntology Ran 0 of 14 code samples harvested from 1 repository linked to this paper; 14 have no recorded run.

By repository: official repository: 14 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

oxmlsys/tflite-tools officialmentioned in papertfMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 0 ran; 0 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

14unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from oxmlsys/tflite-tools. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

AbsOptionsEnd oxmlsys/tflite-tools/tflite_tools/tflite/AbsOptions.py official repository unverified MIT (permissive) · aa810b70bad0e948 · report
AddNOptionsEnd oxmlsys/tflite-tools/tflite_tools/tflite/AddNOptions.py official repository unverified MIT (permissive) · 0ddef8025e31d92a · report
AddOptionsEnd oxmlsys/tflite-tools/tflite_tools/tflite/AddOptions.py official repository unverified MIT (permissive) · 1ffb75597fc7bd2b · report
ArgMaxOptionsEnd oxmlsys/tflite-tools/tflite_tools/tflite/ArgMaxOptions.py official repository unverified MIT (permissive) · b81bbd359f30bbf0 · report
ArgMinOptionsEnd oxmlsys/tflite-tools/tflite_tools/tflite/ArgMinOptions.py official repository unverified MIT (permissive) · 6de21b13beace7bc · report
BatchToSpaceNDOptionsEnd oxmlsys/tflite-tools/tflite_tools/tflite/BatchToSpaceNDOptions.py official repository unverified MIT (permissive) · 2466f15207cc39b0 · report
BidirectionalSequenceLSTMOptionsEnd oxmlsys/tflite-tools/tflite_tools/tflite/BidirectionalSequenceLSTMOptions.py official repository unverified MIT (permissive) · 0b1c80069a231389 · report
BidirectionalSequenceRNNOptionsEnd oxmlsys/tflite-tools/tflite_tools/tflite/BidirectionalSequenceRNNOptions.py official repository unverified MIT (permissive) · 6c7b30b439c8aba3 · report
ModelStartBuffersVector oxmlsys/tflite-tools/tflite_tools/tflite/Model.py official repository unverified MIT (permissive) · cbcbf947a3c73834 · report
ModelStartOperatorCodesVector oxmlsys/tflite-tools/tflite_tools/tflite/Model.py official repository unverified MIT (permissive) · 8edfabcc3bbb4d87 · report
ModelStartSubgraphsVector oxmlsys/tflite-tools/tflite_tools/tflite/Model.py official repository unverified MIT (permissive) · 695cc78898a40eac · report
cluster_weights oxmlsys/tflite-tools/tflite_tools/tflite_model.py official repository unverified MIT (permissive) · 4a98be502c8d5284 · report
get_buffer_as_numpy oxmlsys/tflite-tools/tflite_tools/tflite_model.py official repository unverified MIT (permissive) · a04c650fa9cc9971 · report
get_buffer_element_size oxmlsys/tflite-tools/tflite_tools/tflite_model.py official repository unverified MIT (permissive) · ee1162f08109ee09 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections