Fix msan failure.
PiperOrigin-RevId: 284251368 Change-Id: I8e04e6340b1d82e467a3366aa04b68a7b43e1cb1
This commit is contained in:
parent
00c6bb2b7c
commit
c8e94d4a6e
@ -106,7 +106,7 @@ TEST(Quantization, TestQuantizationFree) {
|
||||
}
|
||||
|
||||
TEST(Sparsity, TestSparsityFree) {
|
||||
TfLiteTensor t;
|
||||
TfLiteTensor t = {};
|
||||
// Set these values, otherwise TfLiteTensorFree has uninitialized values.
|
||||
t.allocation_type = kTfLiteArenaRw;
|
||||
t.dims = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user