code: def test_argument_target(self):
      def f(a):
          directives.set_element_type(a, 1, shape=2)
          pass
  
      _, node, _ = self.transform(
          f, directives_converter, include_ast=True
      )
  
      (def_,) = anno.getanno(node.args.args[0], anno.Static.DEFINITIONS)
      d = def_.directives[directives.set_element_type]
      self.assertEqual(d["dtype"].value, 1)
      self.assertEqual(d["shape"].value, 2)
  
file_path: tensorflow-upstream/tensorflow/python/autograph/converters/directives_test.py
imports: from tensorflow.python.autograph.converters import directives
  from tensorflow.python.autograph.core import converter_testing
  from tensorflow.python.autograph.lang import directives
  from tensorflow.python.autograph.pyct import anno
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the DirectivesTest obj's underlying member method code with example usage: obj.test_argument_target() without return types