class_docstr: Base class for representing a set of tf.data options.
  
  Attributes:
    _options: Stores the option values.
class_docstr_tok: ["Base","class","for","representing","a","set","of","tf.data","options",".","Attributes",":","_options",":","Stores","the","option","values","."]
code: def __setattr__(self, name, value):
      if not self._mutable:
          raise ValueError(
              "Mutating `tf.data.Options()` returned by "
              "`tf.data.Dataset.options()` has no effect. Use "
              "`tf.data.Dataset.with_options(options)` to set or "
              "update dataset options."
          )
      if hasattr(self, name):
          object.__setattr__(self, name, value)
      else:
          raise AttributeError(
              "Cannot set the property {} on {}.".format(
                  name, type(self).__name__
              )
          )
  
file_path: tensorflow/tensorflow/python/data/util/options.py
imports: import collections
  from absl import logging
label_desc: Use image node_id 4 for calling the OptionsBase obj's underlying member method code with example usage: obj.__setattr__(name, value) without return types