docstr: Executes a function with multiple return values.
docstr_tok: ["Executes","a","function","with","multiple","return","values","."]
code: def testFunctionMultipleRetvals(self):
      """Executes a function with multiple return values."""
  
      # This function will run on the XLA device
      def Func(a, b):
          return a + b, a - b
  
      aval = np.array([4, 3, 2, 1]).reshape([2, 2]).astype(np.float32)
      bval = np.array([5, 6, 7, 8]).reshape([2, 2]).astype(np.float32)
      expected = Func(aval, bval)
  
      with self.session():
  
          @function.Defun(dtypes.float32, dtypes.float32)
          def Foo(a, b):
              return Func(a, b)
  
          a = constant_op.constant(aval, name="a")
          b = constant_op.constant(bval, name="b")
          with self.test_scope():
              call_f = Foo(a, b)
          result = self.evaluate(call_f)
      self.assertAllClose(result, expected, rtol=1e-3)
  
file_path: tensorflow/tensorflow/compiler/tests/function_test.py
imports: import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import function
  from tensorflow.python.ops import array_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 3 for calling the FunctionTest obj's underlying member method code with example usage: obj.testFunctionMultipleRetvals() and returns: unknown,  unknown, Func