Nit: Fix some typos.
PiperOrigin-RevId: 312719982 Change-Id: I8e911c38bf2416b961ef2f4ddd8eb888504d73bf
This commit is contained in:
parent
37ab9c3bfc
commit
49fd845a78
@ -116,7 +116,7 @@ absl::optional<std::string> CoordinateToString(TfLiteIntArray* shape,
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Builds intepreter for a model, allocates tensors.
|
// Builds interpreter for a model, allocates tensors.
|
||||||
absl::Status BuildInterpreter(const Model* model,
|
absl::Status BuildInterpreter(const Model* model,
|
||||||
std::unique_ptr<Interpreter>* interpreter) {
|
std::unique_ptr<Interpreter>* interpreter) {
|
||||||
TfLiteStatus status =
|
TfLiteStatus status =
|
||||||
|
@ -115,7 +115,7 @@ class TensorEqMatcher {
|
|||||||
return false;
|
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
|
// flat. If some pair of elements don't match, deduct the coordinate
|
||||||
// basing on the dimensions, then return.
|
// basing on the dimensions, then return.
|
||||||
absl::Span<float> lhs_span(lhs.data.f, lhs.bytes / sizeof(float));
|
absl::Span<float> lhs_span(lhs.data.f, lhs.bytes / sizeof(float));
|
||||||
@ -163,7 +163,7 @@ class TensorEqMatcher {
|
|||||||
const TfLiteTensor rhs_;
|
const TfLiteTensor rhs_;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Builds intepreter for a model, allocates tensors.
|
// Builds interpreter for a model, allocates tensors.
|
||||||
absl::Status BuildInterpreter(const Model* model,
|
absl::Status BuildInterpreter(const Model* model,
|
||||||
std::unique_ptr<Interpreter>* interpreter);
|
std::unique_ptr<Interpreter>* interpreter);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user