class_docstr: Test that tensorflow integrates with is_abstract
docstr: Test that all tensors are abstract when in autograd mode
docstr_tok: ["Test","that","all","tensors","are","abstract","when","in","autograd","mode"]
code: def test_jit(self, jit_compile):
      """Test that all tensors are abstract when in autograd mode"""
      import tensorflow as tf
  
      @tf.function(jit_compile=jit_compile)
      def cost(x, w):
          y = x**2
          z = tf.ones([2, 2])
  
          assert not tf.executing_eagerly()
  
          assert qml.math.is_abstract(w)
          assert qml.math.is_abstract(x)
          assert qml.math.is_abstract(y)
          assert qml.math.is_abstract(z)
  
          return tf.reduce_sum(y)
  
      x = tf.Variable([0.5, 0.1])
      w = tf.constant(0.1)
  
      assert not qml.math.is_abstract(w)
      assert not qml.math.is_abstract(x)
  
      with tf.GradientTape() as tape:
          res = cost(x, w)
  
      assert res == 0.26
  
      grad = tape.gradient(res, x)
      assert np.allclose(grad, 2 * x)
  
file_path: pennylane/tests/math/test_is_abstract.py
imports: import functools
  import numpy
  import pytest
  import pennylane
label_desc: Use image node_id 2 for calling the TestTensorFlow obj's underlying member method code with example usage: obj.test_jit(jit_compile) and returns: tf