commit | 4d96fa48b98a4101b81df3b7bf11577621d0eb93 | [log] [tgz] |
---|---|---|
author | Miao Wang <miaowang@google.com> | Thu Sep 21 17:04:31 2017 -0700 |
committer | Miao Wang <miaowang@google.com> | Fri Sep 22 17:21:36 2017 -0700 |
tree | c70275f2fecaff7ea4c9502c70ee27f5259c9eda | |
parent | 38df1ea1edb825c5923eed6b8dd54e24de14966e [diff] |
Use softer error reporting instead of CHECK* - CHECK(x) checks whether condition x holds and LOG(FATAL) if not, which will result in calling abort(). - This change uses nnOpsCheck which would log the failing condition and return false to the runtime, allowing graceful failures. Bug: 63905942 Test: NeuralNetworkTests pass Change-Id: I8b1217f777638f974c91fa429449e39d37218af6