code: def testNamedAndPositionalArgs(self):
      a = {"y": 2.0, "x": 3.0, "z": 2.0}
      b = {"y": 10.0, "x": 0.1, "z": -4.0}
      yvals_positional, _ = _get_yielded_and_returned_values(
          nest_util.map_structure_coroutine(_product_generator, a, b)
      )
      yvals_named, _ = _get_yielded_and_returned_values(
          nest_util.map_structure_coroutine(
              _product_generator, a=a, b=b
          )
      )
      yvals_mixed, _ = _get_yielded_and_returned_values(
          nest_util.map_structure_coroutine(_product_generator, a, b=b)
      )
      self.assertAllCloseNested(yvals_positional, yvals_named)
      self.assertAllCloseNested(yvals_positional, yvals_mixed)
  
      # Out-of-order arguments raise an error.
      with self.assertRaisesRegex(
          TypeError, "got multiple values for argument"
      ):
          _get_yielded_and_returned_values(
              nest_util.map_structure_coroutine(
                  _product_generator, b, a=a
              )
          )
  
imports: import collections
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import deterministic
  from tensorflow_probability.python.distributions import half_cauchy
  from tensorflow_probability.python.distributions import joint_distribution_auto_batched
  from tensorflow_probability.python.distributions import normal
  from tensorflow_probability.python.internal import nest_util
  from tensorflow_probability.python.internal import test_util
  from tensorflow.python.util import nest
label_desc: Use image node_id 3 for calling the MapStructureCoroutineTest obj's underlying member method code with example usage: obj.testNamedAndPositionalArgs() without return types