docstr: Specify model options as kwargs.
   * newton_fallback [bool]: whether to fallback to Newton if L-BFGS fails
docstr_tok: ["Specify","model","options","as","kwargs",".","*","newton_fallback","[","bool","]",":","whether","to","fallback","to","Newton","if","L-BFGS","fails"]
code: def set_options(self, **kwargs):
      """
      Specify model options as kwargs.
       * newton_fallback [bool]: whether to fallback to Newton if L-BFGS fails
      """
      for k, v in kwargs.items():
          if k == "newton_fallback":
              self.newton_fallback = v
          else:
              raise ValueError(f"Unknown option {k}")
  
imports: from __future__ import absolute_import, division, print_function
  from abc import abstractmethod, ABC
  from dataclasses import dataclass
  from typing import Sequence, Tuple
  from collections import OrderedDict
  from enum import Enum
  import importlib_resources
  import platform
  import logging
label_desc: Use image node_id 2 for calling the IStanBackend obj's underlying member method code with example usage: obj.set_options() without return types