Merge "Use WriteToTensorAsVector instead of WriteToTensor"
am: 87db7aab32

Change-Id: Ia1242e68d382f68531c57bb463e742ac3813d0fe
diff --git a/utils/tflite-model-executor.cc b/utils/tflite-model-executor.cc
index 4eb0449..e3ec73c 100644
--- a/utils/tflite-model-executor.cc
+++ b/utils/tflite-model-executor.cc
@@ -97,9 +97,8 @@
   for (const std::string& s : input_data) {
     buf.AddString(s.data(), s.length());
   }
-  // TODO(b/120230709): Use WriteToTensorAsVector() instead, once available in
-  // AOSP.
-  buf.WriteToTensor(interpreter->tensor(interpreter->inputs()[input_index]));
+  buf.WriteToTensorAsVector(
+            interpreter->tensor(interpreter->inputs()[input_index]));
 }
 
 template <>