code: def test_box_decode_op():
      data = mx.nd.array(
          [[0.1, 0.2, 0.3, 0.4], [0.5, 0.6, 0.7, 0.8]]
      ).reshape((1, -1, 4))
      anchors = mx.nd.array(
          [[0.1, 0.2, 0.3, 0.4], [0.5, 0.6, 0.7, 0.8]]
      ).reshape((1, -1, 4))
      Y = mx.nd.contrib.box_decode(data, anchors, 0.1, 0.1, 0.2, 0.2)
      assert_allclose(
          Y.asnumpy(),
          np.array(
              [
                  [
                      [-0.0562755, -0.00865743, 0.26227552, 0.42465743],
                      [0.13240421, 0.17859563, 0.93759584, 1.1174043],
                  ]
              ]
          ),
          atol=1e-5,
          rtol=1e-5,
      )
  
file_path: mxnet/tests/python/unittest/test_contrib_operator.py
imports: from __future__ import print_function
  import numpy
  import mxnet
  import random
  import itertools
  from numpy.testing import assert_allclose, assert_array_equal
  from mxnet.test_utils import *
  from common import assert_raises_cudnn_not_satisfied, xfail_when_nonstandard_decimal_separator
  import unittest
label_desc: Use image node_id 8 for calling a global function with example usage: test_box_decode_op() without return types