Skip to content

Commit c65b8f9

Browse files
committed
Merge branch 'fix-espnn-conv2d-incorrect-init' into 'master'
Fixed incorrect Init logic for ESP-NN Conv2D Kernel See merge request app-frameworks/esp-tflite-micro!171
2 parents 847700b + a91b807 commit c65b8f9

File tree

1 file changed

+1
-1
lines changed
  • tensorflow/lite/micro/kernels/esp_nn

1 file changed

+1
-1
lines changed

tensorflow/lite/micro/kernels/esp_nn/conv.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ struct NodeData {
4545

4646
static void* Init(TfLiteContext* context, const char* buffer, size_t length) {
4747
TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr);
48-
return context->AllocatePersistentBuffer(context, sizeof(OpDataConv));
48+
return context->AllocatePersistentBuffer(context, sizeof(NodeData));
4949
}
5050

5151
static TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) {

0 commit comments

Comments
 (0)