code: def test_upsampling3d():
      # nearest_neighbor - NCDHW
      verify_upsampling3d(8, 8, 16, 16, 16, 2.0, 2.0, 2.0)
      verify_upsampling3d(2, 16, 32, 32, 32, 3.0, 3.0, 3.0)
      verify_upsampling3d(1, 8, 11, 16, 6, 1.954545497894287, 2.0, 1.5)
  
      ## nearest_neighbor - NDHWC
      verify_upsampling3d(
          8, 8, 16, 16, 16, 2.0, 2.0, 2.0, layout="NDHWC"
      )
      verify_upsampling3d(
          2, 16, 32, 32, 32, 3.0, 3.0, 3.0, layout="NDHWC"
      )
      verify_upsampling3d(
          1, 8, 11, 16, 6, 1.954545497894287, 2.0, 1.5, layout="NDHWC"
      )
  
      # trilinear - NCDHW
      verify_upsampling3d(
          2, 2, 16, 16, 16, 2.0, 2.0, 2.0, method="trilinear"
      )
      verify_upsampling3d(
          2, 2, 32, 32, 32, 3.0, 3.0, 3.0, method="trilinear"
      )
      verify_upsampling3d(
          1,
          2,
          11,
          16,
          6,
          1.954545497894287,
          2.0,
          1.5,
          method="trilinear",
      )
  
      # trilinear - NDHWC
      verify_upsampling3d(
          2,
          2,
          16,
          16,
          16,
          2.0,
          2.0,
          2.0,
          layout="NDHWC",
          method="trilinear",
      )
      verify_upsampling3d(
          2,
          2,
          32,
          32,
          32,
          3.0,
          3.0,
          3.0,
          layout="NDHWC",
          method="trilinear",
      )
      verify_upsampling3d(
          1,
          2,
          11,
          16,
          6,
          1.954545497894287,
          2.0,
          1.5,
          layout="NDHWC",
          method="trilinear",
      )
  
file_path: tvm/tests/python/topi/test_topi_upsampling.py
imports: import numpy
  import tvm
  from tvm import te
  from tvm import topi
  import tvm.testing
  import tvm.topi.testing
  import math
  from tvm.topi.utils import nchw_pack_layout
label_desc: Use image node_id 5 for calling a global function with example usage: test_upsampling3d() without return types