class_docstr: Base class for representing a set of tf.data options.
  
  Attributes:
    _options: Stores the option values.
code: def __eq__(self, other):
      if not isinstance(other, self.__class__):
          return NotImplemented
      for name in set(self._options) | set(
          other._options
      ):  # pylint: disable=protected-access
          if getattr(self, name) != getattr(other, name):
              return False
      return True
  
file_path: tensorflow-upstream/tensorflow/python/data/util/options.py
imports: import collections
  from absl import logging
label_desc: Use image node_id 2 for calling the OptionsBase obj's underlying member method code with example usage: obj.__eq__(other) and returns: True, NotImplemented, False