code: def testFibonacciTypeInferenceTF(self, dtype):
      for inputs, outputs in ([5], [8]), (
          [5, 6, 8, 9],
          [8, 13, 34, 55],
      ):
          inputs = np.array(inputs, dtype=dtype)
          outputs = np.array(outputs, dtype=dtype)
          tf1.logging.debug(
              "tf.fib {} {} {}".format(
                  dtype, inputs.shape, outputs.shape
              )
          )
          inputs_t = tf.constant(inputs, dtype=dtype)
          prog = test_programs.fibonacci_function_calls(
              include_types=False
          )
          typed = type_inference.infer_types(
              prog, [inputs_t], TF_BACKEND
          )
          expected_prog = test_programs.fibonacci_function_calls(
              dtype=dtype
          )
          self.assertSameTypes(expected_prog, typed)
          alloc = allocation_strategy.optimize(typed)
          lowered = lowering.lower_function_calls(alloc)
          self.assertAllEqual(
              outputs,
              self.evaluate(
                  _execute(lowered, inputs_t, 15, TF_BACKEND)
              ),
          )
  
imports: import functools
  from absl.testing import parameterized
  import numpy
  import six
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.experimental.auto_batching import allocation_strategy
  from tensorflow_probability.python.experimental.auto_batching import instructions
  from tensorflow_probability.python.experimental.auto_batching import lowering
  from tensorflow_probability.python.experimental.auto_batching import numpy_backend
  from tensorflow_probability.python.experimental.auto_batching import test_programs
  from tensorflow_probability.python.experimental.auto_batching import tf_backend
  from tensorflow_probability.python.experimental.auto_batching import type_inference
  from tensorflow_probability.python.experimental.auto_batching import virtual_machine
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 6 for calling the TypeInferenceTest obj's underlying member method code with example usage: obj.testFibonacciTypeInferenceTF(dtype) without return types