commit | 874b092491c3885195e23b74a58f7de3c4479bfd | [log] [tgz] |
---|---|---|
author | Miao Wang <miaowang@google.com> | Fri Oct 13 21:28:19 2017 -0700 |
committer | Miao Wang <miaowang@google.com> | Fri Oct 13 21:28:19 2017 -0700 |
tree | 431621b60353efca3001fc43938e9ecd3900cda2 | |
parent | 1af33897ebdc15c41c94f93535df8904065d211b [diff] |
Fix tests that incorrectly handle large const tensors. - The failing tests incorrectly expect the data to be copied right away when calling setOperandValue on large tensors. - Making the affected tensors static so that they are still valid till Model.finish() is called. Bug: 67603060 Test: NeuralNetworksTest pass Change-Id: I2ad627b9022eae6144d95e06d310ea3d8a2ec42e