class_docstr: This class is a wrapper for numpy argsort function.
class_docstr_tok: ["This","class","is","a","wrapper","for","numpy","argsort","function","."]
code: def perform(self, node, inputs, output_storage):
      a = inputs[0]
      axis = inputs[1]
      if axis is not None:
          if axis != int(axis):
              raise ValueError("sort axis must be an integer or None")
          axis = int(axis)
      z = output_storage[0]
      z[0] = _asarray(
          np.argsort(a, axis, self.kind, self.order),
          dtype=node.outputs[0].dtype,
      )
  
imports: import numpy
  from pytensor.gradient import grad_undefined
  from pytensor.graph.basic import Apply, Constant
  from pytensor.graph.op import Op
  from pytensor.misc.safe_asarray import _asarray
  from pytensor.tensor.basic import arange, as_tensor_variable, flatten, switch
  from pytensor.tensor.math import eq, ge, mul
  from pytensor.tensor.shape import shape
  from pytensor.tensor.subtensor import set_subtensor
  from pytensor.tensor.type import TensorType, integer_dtypes
label_desc: Use image node_id 4 for calling the ArgSortOp obj's underlying member method code with example usage: obj.perform(node, inputs, output_storage) without return types