Fix typos
PiperOrigin-RevId: 486698923
This commit is contained in:
parent
17a2de8cf7
commit
9f4496db77
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user