code: def _permute_dims_helper(draw):
      shape = draw(
          st.shared(
              helpers.get_shape(min_num_dims=1), key="value_shape"
          )
      )
      dims = [x for x in range(len(shape))]
      permutation = draw(st.permutations(dims))
      return permutation
  
imports: import numpy
  from hypothesis import strategies, assume
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test
label_desc: Use image node_id 6 for calling a global function with example usage: _permute_dims_helper(draw) and returns: permutation