class_docstr: Base options for MediaPipe Tasks' Python APIs.
  
  Represents external model asset used by the Task APIs. The files can be
  specified by one of the following two ways:
  
  (1) model asset file path in `model_asset_path`.
  (2) model asset contents loaded in `model_asset_buffer`.
  
  If more than one field of these fields is provided, they are used in this
  precedence order.
  
  Attributes:
    model_asset_path: Path to the model asset file.
    model_asset_buffer: The model asset file contents as bytes.
    delegate: Acceleration to use. Supported values are GPU and CPU. GPU support
      is currently limited to Ubuntu platforms.
class_docstr_tok: ["Base","options","for","MediaPipe","Tasks","'","Python","APIs",".","Represents","external","model","asset","used","by","the","Task","APIs",".","The","files","can","be","specified","by","one","of","the","following","two","ways",":","(","1",")","model","asset","file","path","in","`","model_asset_path","`",".","(","2",")","model","asset","contents","loaded","in","`","model_asset_buffer","`",".","If","more","than","one","field","of","these","fields","is","provided",",","they","are","used","in","this","precedence","order",".","Attributes",":","model_asset_path",":","Path","to","the","model","asset","file",".","model_asset_buffer",":","The","model","asset","file","contents","as","bytes",".","delegate",":","Acceleration","to","use",".","Supported","values","are","GPU","and","CPU",".","GPU","support","is","currently","limited","to","Ubuntu","platforms","."]
docstr: Checks if this object is equal to the given object.
  
  Args:
    other: The object to be compared with.
  
  Returns:
    True if the objects are equal.
docstr_tok: ["Checks","if","this","object","is","equal","to","the","given","object",".","Args",":","other",":","The","object","to","be","compared","with",".","Returns",":","True","if","the","objects","are","equal","."]
code: def __eq__(self, other: Any) -> bool:
      """Checks if this object is equal to the given object.
  
      Args:
        other: The object to be compared with.
  
      Returns:
        True if the objects are equal.
      """
      if not isinstance(other, BaseOptions):
          return False
  
      return self.to_pb2().__eq__(other.to_pb2())
  
file_path: mediapipe/mediapipe/tasks/python/core/base_options.py
imports: import dataclasses
  import enum
  import os
  import platform
  from typing import Any, Optional
  from mediapipe.calculators.tensor import inference_calculator_pb2
  from mediapipe.tasks.cc.core.proto import acceleration_pb2
  from mediapipe.tasks.cc.core.proto import base_options_pb2
  from mediapipe.tasks.cc.core.proto import external_file_pb2
  from mediapipe.tasks.python.core.optional_dependencies import doc_controls
label_desc: Use image node_id 3 for calling the BaseOptions obj's underlying member method code with example usage: obj.__eq__(other) and returns: self, False