code: def _runPermuteAndCompare(self, x, src_format, dst_format, expected):
      with self.session() as session:
          with self.test_scope():
              placeholder = array_ops.placeholder(
                  dtypes.as_dtype(x.dtype), x.shape
              )
              param = {placeholder: x}
              output = nn_ops.data_format_vec_permute(
                  placeholder,
                  src_format=src_format,
                  dst_format=dst_format,
              )
          result = session.run(output, param)
      self.assertAllEqual(result, expected)
  
imports: import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the XlaPermuteOpTest obj's underlying member method code with example usage: obj._runPermuteAndCompare(x, src_format, dst_format, expected) without return types