commit | ef9eb72853e0c19bb0342c4f820544675f5d4903 | [log] [tgz] |
---|---|---|
author | Miao Wang <miaowang@google.com> | Thu Mar 15 11:13:01 2018 -0700 |
committer | Miao Wang <miaowang@google.com> | Fri Mar 16 10:44:31 2018 -0700 |
tree | e17b1fcba9de44be151906d86bd93bc27ebca262 | |
parent | 8ca57f41f1655dee5721774f2ec53dfc97804bfb [diff] |
Fix / add various ANeuralNetworksModel_* validations - Validate dimensions and dimensionCount for scalar types. - Validate offset and length for Memory. - Make the returned error consistent for modifying a finished model. Bug: 74831097 Bug: 70942562 Test: mm Test: ValidationTestModel pass Change-Id: If8ce91427838950afa6684a014be1221528b8ded