From 4dca6711ad6bf629ead943203a2ca14d6038565f Mon Sep 17 00:00:00 2001 From: Jaehong Kim Date: Mon, 23 Nov 2020 11:37:39 -0800 Subject: [PATCH] Remove TODO due to this function is specified as 4D now. This comment was added when this function is BroadcastAdd. PiperOrigin-RevId: 343893710 Change-Id: I2f0283c27e3a949dc38c7f2d67bef28167857fb6 --- tensorflow/lite/kernels/internal/reference/add.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tensorflow/lite/kernels/internal/reference/add.h b/tensorflow/lite/kernels/internal/reference/add.h index 37603883d21..3da76d88b97 100644 --- a/tensorflow/lite/kernels/internal/reference/add.h +++ b/tensorflow/lite/kernels/internal/reference/add.h @@ -202,10 +202,6 @@ inline void Add(const ArithmeticParams& params, } } -// TODO(jiawen): We can implement BroadcastAdd on buffers of arbitrary -// dimensionality if the runtime code does a single loop over one dimension -// that handles broadcasting as the base case. The code generator would then -// generate max(D1, D2) nested for loops. inline void BroadcastAdd4DSlow(const ArithmeticParams& params, const RuntimeShape& input1_shape, const float* input1_data,