code: def local_gpua_topkop(op, ctx_name, inputs, outputs):
      axis = op.axis
      rv = op.return_values
      ri = op.return_indices
      x, k = inputs
      x = as_gpuarray_variable(x, ctx_name)
      if op.sorted:
          return
      gpu_op = GpuTopKOp(
          axis=axis,
          sorted=op.sorted,
          idx_dtype=op.idx_dtype,
          return_values=rv,
          return_indices=ri,
      )
      rets = gpu_op(x, k, return_list=True)
      c = ValuesEqApproxNoOrder(axis)
      for r in rets:
          r.tag.values_eq_approx = c
      return rets
  
imports: from __future__ import absolute_import, print_function, division
  import os
  from string import Template
  import numpy
  import theano
  from theano import Apply
  from theano.tensor import as_tensor_variable
  from theano.tensor.sort import TopKOp
  from .basic_ops import GpuKernelBase, Kernel, infer_context_name, as_gpuarray_variable, gpuarray_helper_inc_dir
  from .opt import register_opt, op_lifter, register_opt2
  from .type import GpuArrayType
label_desc: Use image node_id 1 for calling a global function with example usage: local_gpua_topkop(op, ctx_name, inputs, outputs) and returns: rets