class_docstr: Most tests done in the base class LinearOperatorDerivedClassTest.
class_docstr_tok: ["Most","tests","done","in","the","base","class","LinearOperatorDerivedClassTest","."]
code: def test_permutation_raises(self):
      perm = constant_op.constant(0, dtype=dtypes.int32)
      with self.assertRaisesRegex(
          ValueError, "must have at least 1 dimension"
      ):
          permutation.LinearOperatorPermutation(perm)
      perm = [0.0, 1.0, 2.0]
      with self.assertRaisesRegex(TypeError, "must be integer dtype"):
          permutation.LinearOperatorPermutation(perm)
      perm = [-1, 2, 3]
      with self.assertRaisesRegex(
          ValueError, "must be a vector of unique integers"
      ):
          permutation.LinearOperatorPermutation(perm)
  
imports: from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import config
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import linalg_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops.linalg import linalg
  from tensorflow.python.ops.linalg import linear_operator_permutation
  from tensorflow.python.ops.linalg import linear_operator_test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 6 for calling the LinearOperatorPermutationTest obj's underlying member method code with example usage: obj.test_permutation_raises() without return types