Fix typos

PiperOrigin-RevId: 486698923
This commit is contained in:
Jiuqiang Tang 2022-11-07 10:22:49 -08:00 committed by Copybara-Service
parent 17a2de8cf7
commit 9f4496db77
2 changed files with 3 additions and 3 deletions

View File

@ -31,13 +31,13 @@ namespace core {
// Base options for MediaPipe C++ Tasks.
struct BaseOptions {
// The model asset file contents as as string.
// The model asset file contents as a string.
std::unique_ptr<std::string> model_asset_buffer;
// The path to the model asset to open and mmap in memory.
std::string model_asset_path = "";
// The delegate to run MediaPipe. If the delegate is not set, default
// The delegate to run MediaPipe. If the delegate is not set, the default
// delegate CPU is used.
enum Delegate {
CPU = 0,

View File

@ -48,7 +48,7 @@ public abstract class BaseOptions {
public abstract Builder setModelAssetBuffer(ByteBuffer value);
/**
* Sets device Delegate to run the MediaPipe pipeline. If the delegate is not set, default
* Sets device delegate to run the MediaPipe pipeline. If the delegate is not set, the default
* delegate CPU is used.
*/
public abstract Builder setDelegate(Delegate delegate);