Skip to content
Commit fd3b7acb authored by Jared Smolens's avatar Jared Smolens
Browse files

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: default avatarJared Smolens <jared.smolens@arm.com>
Change-Id: I21c0e2ec04b7520e6a753b8bf62572a702002d5b
parent 80a022fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment