code: def test_permute_errors_on_invalid_starting_dims_index(self):
      with self.assertRaisesRegex(
          ValueError, r"Invalid permutation .*dims.*"
      ):
          self.run_layer_test(
              layers.Permute,
              init_kwargs={"dims": (0, 1, 2)},
              input_shape=(3, 2, 4),
          )
  
file_path: keras/keras/layers/reshaping/permute_test.py
imports: import numpy
  import pytest
  from absl.testing import parameterized
  from keras import backend
  from keras import layers
  from keras import ops
  from keras import testing
label_desc: Use image node_id 3 for calling the PermuteTest obj's underlying member method code with example usage: obj.test_permute_errors_on_invalid_starting_dims_index() without return types