commit | c52c2d22d959bce01de3dec6e00cbec163fd7f95 | [log] [tgz] |
---|---|---|
author | Miao Wang <miaowang@google.com> | Thu Mar 15 10:43:59 2018 -0700 |
committer | Miao Wang <miaowang@google.com> | Thu Mar 15 14:59:15 2018 -0700 |
tree | c1b780d09ba020c901ef2b8ffcdc38ec507e0cee | |
parent | ee8da78f88aebeddcde85544cc126c0858badbc2 [diff] |
Fix the validation for ANeuralNetworksExecution_setInput & setOutput - For optional inputs, buffer must be nullptr and length must be 0. Passing a nullptr for buffer and a non-zero length is invalid. Bug: 74829782 Test: mm Test: ValidationTestExecution#SetInput pass Change-Id: Icdbc4fd98f0d9bfb35a58bff7f6902dc23123548