code: def transpose_func(x, trans):
      if trans == 0:
          return x
      if trans == 1:
          return x.conj().T
      if trans == 2:
          return x.T
  
file_path: pytensor/tests/link/numba/test_slinalg.py
imports: import re
  import numpy
  import pytest
  import pytensor
  import pytensor.tensor
  from pytensor import config
  from pytensor.compile import SharedVariable
  from pytensor.graph import Constant, FunctionGraph
  from tests.link.numba.test_basic import compare_numba_and_py
  from tests.tensor.test_extra_ops import set_test_value
label_desc: Use image node_id 1 for calling a global function with example usage: transpose_func(x, trans) and returns: x, x, x