diff options
author | Jared Smolens <jared.smolens@arm.com> | 2021-12-01 10:11:08 -0800 |
---|---|---|
committer | Jared Smolens <jared.smolens@arm.com> | 2021-12-01 10:15:03 -0800 |
commit | fd3b7acb794aa453f1d86c24852e22e996d8e21b (patch) | |
tree | 06e8dba86ad2365a15e0a6f600c4dc1c1088d1ed /CMakeLists.txt | |
parent | 80a022fd103b26a03a04e0565c4d263f73d950b8 (diff) | |
download | tosa_mlir_translator-fd3b7acb794aa453f1d86c24852e22e996d8e21b.tar.gz |
Sort tensor list by name for serialization
- Tensors are stored in an unordered_map from mlir::Value::hash_value
to tensor name.
- Before serialization, sort the tensor list alphabetically by name
so that tensors always appear in a determinstic (and logical) order.
Signed-off-by: Jared Smolens <jared.smolens@arm.com>
Change-Id: I21c0e2ec04b7520e6a753b8bf62572a702002d5b
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions