diff --git a/tensorflow/lite/testing/BUILD b/tensorflow/lite/testing/BUILD index d0744c49445..3d4527e926e 100644 --- a/tensorflow/lite/testing/BUILD +++ b/tensorflow/lite/testing/BUILD @@ -555,9 +555,7 @@ cc_test( ], tags = [ "no_mac", # b/161990368 - "noasan", # b/162027436 - "nomsan", # b/162027436 - "notsan", # b/162027436 + "tflite_not_portable", ], deps = [ ":test_tflite_lib", diff --git a/tensorflow/lite/testing/selective_build_test.cc b/tensorflow/lite/testing/selective_build_test.cc index ad23e382a8d..1a9a5b2efdb 100644 --- a/tensorflow/lite/testing/selective_build_test.cc +++ b/tensorflow/lite/testing/selective_build_test.cc @@ -51,8 +51,8 @@ bool RunWithRandomInputs(const std::string& filename) { for (auto it = data.begin(); it != data.end(); ++it) { *it = random(); } - tensor->data.raw = reinterpret_cast(data.data()); sample.push_back(data); + tensor->data.raw = reinterpret_cast(sample.rbegin()->data()); } // Running inference.