class_docstr: Transforms control flow structures like loops an conditionals.
class_docstr_tok: ["Transforms","control","flow","structures","like","loops","an","conditionals","."]
code: def _create_loop_options(self, node):
      if not anno.hasanno(node, anno.Basic.DIRECTIVES):
          return gast.Dict([], [])
  
      loop_directives = anno.getanno(node, anno.Basic.DIRECTIVES)
      if directives.set_loop_options not in loop_directives:
          return gast.Dict([], [])
  
      opts_dict = loop_directives[directives.set_loop_options]
      str_keys, values = zip(*opts_dict.items())
      keys = [gast.Constant(s, kind=None) for s in str_keys]
      values = list(values)  # ast and gast don't play well with tuples.
      return gast.Dict(keys, values)
  
imports: import gast
  from tensorflow.python.autograph.core import converter
  from tensorflow.python.autograph.lang import directives
  from tensorflow.python.autograph.pyct import anno
  from tensorflow.python.autograph.pyct import cfg
  from tensorflow.python.autograph.pyct import origin_info
  from tensorflow.python.autograph.pyct import parser
  from tensorflow.python.autograph.pyct import qual_names
  from tensorflow.python.autograph.pyct import templates
  from tensorflow.python.autograph.pyct.static_analysis import activity
  from tensorflow.python.autograph.pyct.static_analysis import annos
  from tensorflow.python.autograph.pyct.static_analysis import liveness
  from tensorflow.python.autograph.pyct.static_analysis import reaching_definitions
  from tensorflow.python.autograph.pyct.static_analysis import reaching_fndefs
label_desc: Use image node_id 5 for calling the ControlFlowTransformer obj's underlying member method code with example usage: obj._create_loop_options(node) and returns: gast, gast, gast