Skip to content

Commit 0eea221

Browse files
committed
Fix test2
1 parent a62f77e commit 0eea221

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tensorflow/lite/micro/micro_allocator_test.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -899,15 +899,11 @@ TF_LITE_MICRO_TEST(TestAllocatePersistentTfLiteTensor) {
899899
model, /*subgraph_allocations=*/nullptr, /*tensor_index=*/1,
900900
/*subgraph_index=*/0);
901901
TF_LITE_MICRO_EXPECT(tensor1 != nullptr);
902-
//TF_LITE_MICRO_EXPECT(tensor1->quantization.params != nullptr);
903-
TF_LITE_MICRO_EXPECT_FALSE(tensor1->is_variable);
904902

905903
TfLiteTensor* tensor2 = allocator->AllocatePersistentTfLiteTensor(
906904
model, /*subgraph_allocations=*/nullptr, /*tensor_index=*/2,
907905
/*subgraph_index=*/0);
908906
TF_LITE_MICRO_EXPECT(tensor2 != nullptr);
909-
//TF_LITE_MICRO_EXPECT(tensor2->quantization.params != nullptr);
910-
TF_LITE_MICRO_EXPECT_FALSE(tensor2->is_variable);
911907

912908
// The address of tensor1 should be higher than the address of tensor2 since
913909
// persistent allocations take place in the tail which grows downward.

0 commit comments

Comments
 (0)