commit | 1a558be1e90a0873c82ce9f4ceefb69326391794 | [log] [tgz] |
---|---|---|
author | Xusong Wang <xusongw@google.com> | Wed May 29 13:03:37 2019 -0700 |
committer | Xusong Wang <xusongw@google.com> | Thu Jun 06 10:17:23 2019 -0700 |
tree | 9c7624e7d299d4701b46145fdf6ea01f42884caf | |
parent | c0170c41096705bc4fc12d29656a83abfa50d2af [diff] |
Define copy/assignment ctor of SymmPerChannelQuantParams. This is to make sure that the copied SymmPreChannelQuantParams object has this->params.scales pointing to this->scales.data() instead of other.scales.data(). Fixes: 133790991 Test: NeuralNetworksTest_static Test: NeuralNetworksTest_static_asan Change-Id: Ic558f007110961669398dbeb161223fe99289a89 Merged-In: Ic558f007110961669398dbeb161223fe99289a89 (cherry picked from commit 0e3aa5c9a513f42ff28f35e151c20c731f60c52c)