Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions python/tflite_micro/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
}),
)
12 changes: 2 additions & 10 deletions tensorflow/lite/micro/compression/metadata_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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() &&
Expand Down
Loading