[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-01 UTC."],[],[],null,["# mp.tasks.BaseOptions\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/google/mediapipe/blob/master/mediapipe/tasks/python/core/base_options.py#L34-L121) |\n\nBase options for MediaPipe Tasks' Python APIs.\n\n#### View aliases\n\n\n**Main aliases**\n\n[`mp.tasks.vision.holistic_landmarker.base_options_module.BaseOptions`](https://ai.google.dev/edge/api/mediapipe/python/edge/api/mediapipe/python/mp/tasks/BaseOptions)\n\n\u003cbr /\u003e\n\n mp.tasks.BaseOptions(\n model_asset_path: Optional[str] = None,\n model_asset_buffer: Optional[bytes] = None,\n delegate: Optional[../../mp/tasks/BaseOptions/Delegate] = None\n )\n\nRepresents external model asset used by the Task APIs. The files can be\nspecified by one of the following two ways:\n\n(1) model asset file path in `model_asset_path`.\n(2) model asset contents loaded in `model_asset_buffer`.\n\nIf more than one field of these fields is provided, they are used in this\nprecedence order.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|----------------------|--------------------------------------------------------------------------------------------------------------|\n| `model_asset_path` | Path to the model asset file. |\n| `model_asset_buffer` | The model asset file contents as bytes. |\n| `delegate` | Acceleration to use. Supported values are GPU and CPU. GPU support is currently limited to Ubuntu platforms. |\n\n\u003cbr /\u003e\n\nChild Classes\n-------------\n\n[`class Delegate`](../../mp/tasks/BaseOptions/Delegate)\n\nMethods\n-------\n\n### `__eq__`\n\n[View source](https://github.com/google/mediapipe/blob/master/mediapipe/tasks/python/core/base_options.py#L109-L121) \n\n __eq__(\n other: Any\n ) -\u003e bool\n\nChecks if this object is equal to the given object.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ||\n|---------|---------------------------------|\n| `other` | The object to be compared with. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|---|---|\n| True if the objects are equal. ||\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Class Variables --------------- ||\n|--------------------|--------|\n| delegate | `None` |\n| model_asset_buffer | `None` |\n| model_asset_path | `None` |\n\n\u003cbr /\u003e"]]