code: def translate_y(
      data, rel_offset, shape, fill_value=128, interp_type=None
  ):
      offset = rel_offset * shape[0]
      mt = fn.transforms.translation(offset=offset)
      return fn.warp_affine(
          data,
          matrix=mt,
          fill_value=fill_value,
          interp_type=interp_type,
          inverse_map=False,
      )
  
imports: from nvidia.dali import fn
  from nvidia.dali import types
  from nvidia.dali.auto_aug.core import augmentation
label_desc: Use image node_id 7 for calling a global function with example usage: translate_y(data, rel_offset, shape, fill_value, interp_type) and returns: fn