OSDN Git Service

Early test termination for unsupported models
authorMichael Butler <butlermichael@google.com>
Thu, 5 Oct 2017 01:13:52 +0000 (18:13 -0700)
committerMichael Butler <butlermichael@google.com>
Thu, 5 Oct 2017 01:14:45 +0000 (18:14 -0700)
commit13cbc53a65dd84a95a96e852f2cd7a5348cf4762
treeace2dc2e1293ff9548e0e80332cbc326d29d8408
parente51f34781a93a771ba3f3be8ac407154526389d3
Early test termination for unsupported models

Some service drivers won't be able to support all operations. In those
cases, try to prepare the model anyway. If it works, proceed with the
test; if it fails, terminate the test early.

For example, the hvx nn service does not support svdf, so it should
attempt to prepare the model, but the test should not fail if the hvx
driver reports an error.

Bug: 63905942
Test: mm, expected behavior when running on hvx service
Change-Id: I51aa1911145f0d17590906c21314d2bdc24cffea
neuralnetworks/1.0/vts/functional/GeneratedTestHarness.cpp