Add static asserts to functions using MixedTyped

This makes it easier to find all the places that need to be changed
after adding a new type to MixedTyped.

Also make CompareResults function generic so that it doesn't cause
errors after adding new type to MixedTyped.

Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_2TargetTest
Change-Id: Iebd89b703415b22ade56c93361926ceed0611f7d
Merged-In: Iebd89b703415b22ade56c93361926ceed0611f7d
(cherry picked from commit ba304056176c602a8b6272a7bb6931ef7ae7fee6)
3 files changed
tree: e58724331aa524cb1b765bf1131feb9a6c394068
  1. nn/
  2. .clang-format
  3. CleanSpec.mk
  4. OWNERS
  5. PREUPLOAD.cfg