From 891b12a9cbd8fd01db0f47ca83b200ce05cd0def Mon Sep 17 00:00:00 2001 From: "T.J. Alumbaugh" Date: Wed, 18 Nov 2020 13:55:53 -0800 Subject: [PATCH] Remvoe TODO since GetOptionalInput is deprecated in favor of GetInput now PiperOrigin-RevId: 343150206 Change-Id: I6aa3684dee5bd5e0ac122d6844a46594b7985841 --- tensorflow/lite/kernels/depthwise_conv.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/tensorflow/lite/kernels/depthwise_conv.cc b/tensorflow/lite/kernels/depthwise_conv.cc index ae88967e968..42920e11fc4 100644 --- a/tensorflow/lite/kernels/depthwise_conv.cc +++ b/tensorflow/lite/kernels/depthwise_conv.cc @@ -98,9 +98,6 @@ TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { reinterpret_cast(node->builtin_data); OpData* data = reinterpret_cast(node->user_data); - // TODO(ahentz): use could use GetOptionalInputTensor() here, but we need to - // decide whether we are OK with optional tensors being completely absent, as - // opposed to having -1 as their index. bool hasBias = NumInputs(node) == 3; TF_LITE_ENSURE(context, hasBias || NumInputs(node) == 2);