Skip to content

Commit 282260e

Browse files
committed
More fix
1 parent ce41d28 commit 282260e

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

python/tflite_micro/BUILD

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,4 +306,8 @@ sh_test(
306306
"notap", # See http://b/294278650#comment4 for more details.
307307
"noubsan",
308308
],
309+
target_compatible_with = select({
310+
"@bazel_tools//src/conditions:windows": ["@platforms//:incompatible"],
311+
"//conditions:default": [],
312+
}),
309313
)

tensorflow/lite/micro/compression/metadata_test.cc

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,9 @@ struct ExpectedLutTensor {
3636
int index_bitwidth;
3737
};
3838

39-
constexpr ExpectedLutTensor kExpected0 = {
40-
.tensor = 63,
41-
.value_buffer = 128,
42-
.index_bitwidth = 2,
43-
};
39+
constexpr ExpectedLutTensor kExpected0 = {63, 128, 2};
4440

45-
constexpr ExpectedLutTensor kExpected1 = {
46-
.tensor = 64,
47-
.value_buffer = 129,
48-
.index_bitwidth = 4,
49-
};
41+
constexpr ExpectedLutTensor kExpected1 = {64, 129, 4};
5042

5143
bool operator==(const ExpectedLutTensor& a, const LutTensor& b) {
5244
return a.tensor == b.tensor() && a.value_buffer == b.value_buffer() &&

0 commit comments

Comments
 (0)