code: def _dyn_pad_shape_func(data, pad_width):
      ndim = len(data.shape)
      out = output_tensor((ndim,), "int64")
      for i in const_range(ndim):
          out[i] = int64(
              pad_width[i, 0] + pad_width[i, 1] + data.shape[i]
          )
      return out
  
file_path: tvm/python/tvm/relay/op/dyn/nn/_nn.py
imports: from __future__ import absolute_import
  from tvm import topi
  from tvm.runtime import convert
  from tvm.te.hybrid import script
  from ...op import register_shape_func, register_compute
  from ...op import register_injective_schedule, register_broadcast_schedule
label_desc: Use image node_id 7 for calling a global function with example usage: _dyn_pad_shape_func(data, pad_width) and returns: out