commit | 137d278a0b2e3f2b518ab30b24755838d807759a | [log] [tgz] |
---|---|---|
author | Miao Wang <miaowang@google.com> | Tue Mar 06 15:03:14 2018 -0800 |
committer | Miao Wang <miaowang@google.com> | Thu Mar 22 13:28:53 2018 -0700 |
tree | f0b848dcc6db40400374743ad603c7d225decb78 | |
parent | ee8da78f88aebeddcde85544cc126c0858badbc2 [diff] |
Add basic validation for ANeuralNetworksModel_addOperation - This change tries to catch errors during ANeuralNetworksModel_addOperation. - It checks the expected number of arguments and their types. - Add tests for most of the operations. - Fix a bug in another test caught by this change. Bug: 67828197 Test: mm Test: NeuralNetworksTest Change-Id: I565a8a08f96dd9f2b15a8e413360df0bedc57f37