bee07f73a5f998a2dd6dc581e7776557c21f9684 |
|
09-Oct-2017 |
Miao Wang <miaowang@google.com> |
Force CpuExecutor validating user-provided model output operands. - For operands with OperandLifeTime::MODEL_OUTPUT, the dimensions, type, and other meta-data must match the output Shape calculated from the operation preparation step. - Fix the ill-defined tests caught by the added validation. - Incidental changes: generated more tests from tests specs. Bug: 67390841 Test: NeuralNetworksTests pass Change-Id: I40d35db0f7a868feae773dbf7e12cf4bf5f5e275
/frameworks/ml/nn/runtime/test/generated/models/lsh_projection.model.cpp
|
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/lsh_projection.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/lsh_projection.model.cpp
|
9b69c561a47cdb35b911b163c0d819f7a77efe41 |
|
12-Sep-2017 |
Yang Ni <yangni@google.com> |
Fix auto-generated LSH Projection test Bug: 63905942 Leaving an optional argument unset leads to wrong results. Setting it an empty python list, i.e., [], fixes the issue. Test: adb shell /data/nativetest64/NeuralNetworksTest/NeuralNetworksTest --gtest_filter=GeneratedTests.lsh_projection Change-Id: I955bb1093b7281711f1fdc4c888aa2891c135730
/frameworks/ml/nn/runtime/test/generated/models/lsh_projection.model.cpp
|