docstr: Permutation test.
docstr_tok: ["Permutation","test","."]
code: def test_permutation(self):
      """Permutation test."""
  
      np.random.seed(42)
  
      t = _random_sparse_tensor(8 * [2])
      u = tf.transpose(t, perm=[2, 3, 4, 5, 6, 7, 0, 1])
      v = logeinsumexp("abcdefgh->cdefghab", t)
  
      self.assertAllClose(u, v)
  
imports: import hypothesis
  from hypothesis.extra import numpy
  import hypothesis.strategies
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.experimental.marginalize.logeinsumexp import _binary_einslogsumexp
  from tensorflow_probability.python.experimental.marginalize.logeinsumexp import logeinsumexp
  from tensorflow_probability.python.internal import test_util
  import tensorflow_probability.python.internal.hypothesis_testlib
label_desc: Use image node_id 9 for calling the _EinLogSumExpTest obj's underlying member method code with example usage: obj.test_permutation() without return types