class_docstr: Test large corner cases for tensorflow.
class_docstr_tok: ["Test","large","corner","cases","for","tensorflow","."]
docstr: Tests that custom kernels that use slicing fall back to a different method when
  the state has a large number of wires.
docstr_tok: ["Tests","that","custom","kernels","that","use","slicing","fall","back","to","a","different","method","when","the","state","has","a","large","number","of","wires","."]
code: def test_tf_large_state(self, op):
      """Tests that custom kernels that use slicing fall back to a different method when
      the state has a large number of wires."""
      import tensorflow as tf
  
      state = np.zeros([2] * 10)
      state = tf.Variable(state)
      new_state = apply_operation(op, state)
  
      # still all zeros.  Mostly just making sure error not raised
      assert qml.math.allclose(state, new_state)
  
imports: from functools import reduce
  import pytest
  import numpy
  from scipy.stats import unitary_group
  import pennylane
  from pennylane.operation import _UNSET_BATCH_SIZE, Operation
  from pennylane.devices.qubit.apply_operation import apply_operation, apply_operation_einsum, apply_operation_tensordot
label_desc: Use image node_id 1 for calling the TestLargeTFCornerCases obj's underlying member method code with example usage: obj.test_tf_large_state(op) without return types