code: def assertPermutations(self, original):
      # Iterate over all posible permutations
      indices = range(DIMS)
      for permutation in itertools.permutations(indices):
          expected = numpy.transpose(original, permutation)
          result = TensorTranspose(permutation=list(permutation))(
              original
          )
  
          self.assertEqualVector(result.shape, expected.shape)
          self.assertEqualVector(result.flatten(), expected.flatten())
  
file_path: essentia/test/src/unittests/standard/test_tensortranspose.py
imports: from essentia_test import *
  import itertools
label_desc: Use image node_id 1 for calling the TestTensorTranspose obj's underlying member method code with example usage: obj.assertPermutations(original) without return types