code: def _get_ld(a):
      strides = a.strides[-2:]
      trans = numpy.argmin(strides)
      return trans, int(
          max(a.shape[trans - 2], max(strides) // a.itemsize)
      )
  
imports: import warnings
  import numpy
  from chainer import backend
  from chainer.backends import cuda
  from chainer import function_node
  import chainer.functions
  from chainer import utils
  from chainer.utils import type_check
  import chainerx
label_desc: Use image node_id 3 for calling a global function with example usage: _get_ld(a) and returns: trans,  int