diff --git a/python/tflite_micro/BUILD b/python/tflite_micro/BUILD index 615c8376f80..638522c8355 100644 --- a/python/tflite_micro/BUILD +++ b/python/tflite_micro/BUILD @@ -306,4 +306,8 @@ sh_test( "notap", # See http://b/294278650#comment4 for more details. "noubsan", ], + target_compatible_with = select({ + "@bazel_tools//src/conditions:windows": ["@platforms//:incompatible"], + "//conditions:default": [], + }), ) diff --git a/tensorflow/lite/micro/compression/metadata_test.cc b/tensorflow/lite/micro/compression/metadata_test.cc index 9a6abd963d9..5cf9965dbb7 100644 --- a/tensorflow/lite/micro/compression/metadata_test.cc +++ b/tensorflow/lite/micro/compression/metadata_test.cc @@ -36,17 +36,9 @@ struct ExpectedLutTensor { int index_bitwidth; }; -constexpr ExpectedLutTensor kExpected0 = { - .tensor = 63, - .value_buffer = 128, - .index_bitwidth = 2, -}; +constexpr ExpectedLutTensor kExpected0 = {63, 128, 2}; -constexpr ExpectedLutTensor kExpected1 = { - .tensor = 64, - .value_buffer = 129, - .index_bitwidth = 4, -}; +constexpr ExpectedLutTensor kExpected1 = {64, 129, 4}; bool operator==(const ExpectedLutTensor& a, const LutTensor& b) { return a.tensor == b.tensor() && a.value_buffer == b.value_buffer() &&