commit | cb3229aaf2233ebb917d967a6e73d48cce1a1480 | [log] [tgz] |
---|---|---|
author | Philip Quinn <pquinn@google.com> | Wed Feb 08 22:50:59 2023 -0800 |
committer | Philip Quinn <pquinn@google.com> | Thu Feb 09 22:33:05 2023 -0800 |
tree | ff19ed484f5f0e967f8182d972b8bdea6a4f3802 | |
parent | da6a448e2dfbfa7f13ce243e9273ceb9bcda4388 [diff] |
Use mmap to read TFLite model. The buffers in the model file are used directly by TFLite, and so a small memory saving can be achieved by backing those memory pages with the file itself. Bug: 267050081 Test: atest libinput_tests Change-Id: I743a3c94477d4bb778b6e0c4b4890a44f4e19aa4