commit | bee07f73a5f998a2dd6dc581e7776557c21f9684 | [log] [tgz] |
---|---|---|
author | Miao Wang <miaowang@google.com> | Mon Oct 09 10:43:21 2017 -0700 |
committer | Miao Wang <miaowang@google.com> | Mon Oct 09 20:13:55 2017 -0700 |
tree | f4e1f43b3f35f4fd5c689cf20a2fdebdf7e46441 | |
parent | 69b0aeab425ea1f8dcd050fb933bae2b77ab5b8a [diff] |
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