OSDN Git Service

Only verify output of models a vendor nn service fully supports
authorMichael Butler <butlermichael@google.com>
Wed, 4 Oct 2017 09:38:42 +0000 (02:38 -0700)
committerMichael Butler <butlermichael@google.com>
Wed, 4 Oct 2017 19:31:08 +0000 (19:31 +0000)
commit0897ab3aad7d062c101892fd40a96271714f1613
tree371d6f3bae3dd13594717e88d6404fea21855cc0
parent072811f5fbfcb98b31b9106f69683c04bbbb865b
Only verify output of models a vendor nn service fully supports

Some service drivers won't be able to support all operations. In those
cases, run the test as far as it can go, but ignore the output data.

For example, the hvx nn service does not support svdf, so it should
attempt to prepare and execute the model, but the test should not fail
if the hvx driver reports an error. However, hvx indicates it is able to
run MAX_POOL_2D, so the test should fail if that output is incorrect.

Bug: 63905942
Test: mm
Test: run vts binary on hvx service
Change-Id: I3ebc05836c8e070b66daa2e38b107f96637ca812
neuralnetworks/1.0/vts/functional/GeneratedTestHarness.cpp