code: def keywords_to_dict(keywords):
      """Converts a list of ast.keyword objects to a dict."""
      keys = []
      values = []
      for kw in keywords:
          keys.append(gast.Constant(kw.arg, kind=None))
          values.append(kw.value)
      return gast.Dict(keys=keys, values=values)
  
imports: import ast
  import gast
  from tensorflow.python.autograph.pyct import anno
  from tensorflow.python.autograph.pyct import parser
  from tensorflow.python.autograph.pyct import qual_names
label_desc: Use image node_id 3 for calling a global function with example usage: keywords_to_dict(keywords) and returns: gast