Nit: Fix some typos.

PiperOrigin-RevId: 312719982
Change-Id: I8e911c38bf2416b961ef2f4ddd8eb888504d73bf
This commit is contained in:
Robert David 2020-05-21 12:36:24 -07:00 committed by TensorFlower Gardener
parent 37ab9c3bfc
commit 49fd845a78
2 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ absl::optional<std::string> 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>* interpreter) {
TfLiteStatus status =

View File

@ -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<float> 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>* interpreter);