From 49fd845a78752a672479fcad803763fc72ccba2d Mon Sep 17 00:00:00 2001 From: Robert David Date: Thu, 21 May 2020 12:36:24 -0700 Subject: [PATCH] Nit: Fix some typos. PiperOrigin-RevId: 312719982 Change-Id: I8e911c38bf2416b961ef2f4ddd8eb888504d73bf --- .../lite/delegates/gpu/common/testing/feature_parity/utils.cc | 2 +- .../lite/delegates/gpu/common/testing/feature_parity/utils.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tensorflow/lite/delegates/gpu/common/testing/feature_parity/utils.cc b/tensorflow/lite/delegates/gpu/common/testing/feature_parity/utils.cc index 8f6e3cc64bf..bdcbf7ed62e 100644 --- a/tensorflow/lite/delegates/gpu/common/testing/feature_parity/utils.cc +++ b/tensorflow/lite/delegates/gpu/common/testing/feature_parity/utils.cc @@ -116,7 +116,7 @@ absl::optional CoordinateToString(TfLiteIntArray* shape, return result; } -// Builds intepreter for a model, allocates tensors. +// Builds interpreter for a model, allocates tensors. absl::Status BuildInterpreter(const Model* model, std::unique_ptr* interpreter) { TfLiteStatus status = diff --git a/tensorflow/lite/delegates/gpu/common/testing/feature_parity/utils.h b/tensorflow/lite/delegates/gpu/common/testing/feature_parity/utils.h index 68c4a1a0d1e..7c34978fb55 100644 --- a/tensorflow/lite/delegates/gpu/common/testing/feature_parity/utils.h +++ b/tensorflow/lite/delegates/gpu/common/testing/feature_parity/utils.h @@ -115,7 +115,7 @@ class TensorEqMatcher { return false; } - // 4. Proceed to data comparison. Iterate throught elements as they lay + // 4. Proceed to data comparison. Iterate through elements as they lay // flat. If some pair of elements don't match, deduct the coordinate // basing on the dimensions, then return. absl::Span lhs_span(lhs.data.f, lhs.bytes / sizeof(float)); @@ -163,7 +163,7 @@ class TensorEqMatcher { const TfLiteTensor rhs_; }; -// Builds intepreter for a model, allocates tensors. +// Builds interpreter for a model, allocates tensors. absl::Status BuildInterpreter(const Model* model, std::unique_ptr* interpreter);