The use of HashMap and HashSet made the output of nnx info <model> nondeterministic, which makes it hard to compare it between an unoptimized and optimized version of the same model. This PR switches the relevant data structures to their deterministic BTree variants to fix that.
The use of
HashMap
andHashSet
made the output ofnnx info <model>
nondeterministic, which makes it hard to compare it between an unoptimized and optimized version of the same model. This PR switches the relevant data structures to their deterministicBTree
variants to fix that.