History log of /frameworks/ml/nn/runtime/test/generated/models/add.model.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
66d5cb6e3a90aefc8d545f6369080ab88de9d667 05-Oct-2017 Jean-Luc Brouillet <jeanluc@google.com> Rename setInputsAndOutputs

To avoid confusion with other set* functions, rename setInputsAndOutputs
to identifyInputsAndOutputs.

Also added a few new generated tests when I reran generate_test.sh.

Bug: 63905942
Test: local & VTS tests
Change-Id: Ie947044bee1a97426c847b9d66e60f0c25395bbc
/frameworks/ml/nn/runtime/test/generated/models/add.model.cpp
ec8e1c71d11f7b5abe306e0c9c6af7da755bd46b 13-Sep-2017 I-Jui (Ray) Sung <ijsung@google.com> Support ignored output in test generator

Added a new construct IgnoredOutput for specifying outputs that are
excluded from comparing against golden, required by ops like SVDF.

Also regenerated CTS tests since a test now has one more generated
function bool is_ignored(int);

In addition, updated test generator regression suite accordingly.

Bug: 63905942
Test: NeuralNetworkTest on Angler
Test: VtsHalNeuralnetworksV1_0TargetTest on Angler
Test: tools/test_generator/tests/test.py on host

Change-Id: I99a438400c264cd3b4a12014e1cc473a7d324df6
/frameworks/ml/nn/runtime/test/generated/models/add.model.cpp
6a0d306cf902e13ab147c7533b2cb02540ee66d5 08-Sep-2017 I-Jui (Ray) Sung <ijsung@google.com> Support example that has tensors of different types

Operations like LSH_PROJECTION requires tensors of different types. This
CL adds support to the generator and harness (for native tests).

Revised:
- Test generator
- Test harness
- Existing examples

Also regenerated examples from testcases.

Bug: 63905942
Test: tools/test_generator/test.py
Test: NeuralNetworkTest on angler
Test: cts-tradefed run commandAndExit cts -m CtsNNAPITestCases
Change-Id: I000cdac92468659709be18599a425ef82695011a
/frameworks/ml/nn/runtime/test/generated/models/add.model.cpp
dcd2fbf1da7ebdc1aa1b57c74db4fffd2911e3b8 14-Jul-2017 I-Jui (Ray) Sung <ijsung@google.com> First implementation of NNAPI test generator.

Please see tools/test_generator/tests/P_full/addfloat.mod.py for how
a test model may looks like.

Bug: 63905942
Test: tests/test.py on host
Test: NeuralNetworksTest --gtest_filter=GeneratedTests.* on Angler

Change-Id: Ia8592da130092248269ab3c8c58dcac184dc29ca
/frameworks/ml/nn/runtime/test/generated/models/add.model.cpp
242c6dc1f314646f1a87c66140f26d7623cc399a 29-Jul-2017 I-Jui (Ray) Sung <ijsung@google.com> Test driver, generated models and examples from TFLite

This CL contains models and corresponding examples converted from TFLite
tests (under generated/) and a gtest-based driver (TestGenerated.cpp).

Bug: 63905942
Test: mm
Test: NeuralNetworksTest --gtest_filter=GeneratedTests.* on Angler
Change-Id: I8c062fd9e96585266f7ea9561e79987aa4ddc15c
/frameworks/ml/nn/runtime/test/generated/models/add.model.cpp