Commit graph

2 commits

Author SHA1 Message Date
Volker Eckert
8063fe31b3
use unsigned data types for counter values (#1151) (#1169)
* use unsigned data types for counter values (#1151)

1. semantically it makes more sense

2. arithmetic over/underflow is not defined on signed ints, whereas it
   is on unsigned ones, so this removes a potential source of bugs.

* #1151: fixup: PRI format

* #1151: fixup: return types

* #1151: fixup: wrap/indent

* fixup: arc_custom/micro_time.cc: no longer required to mask out top bit

Co-authored-by: Pauline Sho <psho@google.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-11 00:39:35 +00:00
Advait Jain
a37043ff7a
Manually sync'd code from upstream TF. (#2)
Confirmed that the following command passes:
```
./tensorflow/lite/micro/tools/ci_build/test_all_new.sh GITHUB_PRESUBMIT
```
2021-04-09 11:17:58 -07:00