code: def _make_warp(batch_size, warp_height, warp_width, dtype):
      """Creates batch of warping coordinates."""
      x, y = np.meshgrid(
          np.linspace(0, warp_width - 1, warp_width),
          np.linspace(0, warp_height - 1, warp_height),
      )
      warp = np.concatenate(
          (
              x.reshape([warp_height, warp_width, 1]),
              y.reshape([warp_height, warp_width, 1]),
          ),
          2,
      )
      warp = np.tile(
          warp.reshape([1, warp_height, warp_width, 2]),
          [batch_size, 1, 1, 1],
      )
      warp += np.random.randn(*warp.shape)
      return warp.astype(dtype)
  
file_path: addons/tensorflow_addons/image/tests/resampler_ops_test.py
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow_addons.image import resampler_ops
  from tensorflow_addons.utils import test_utils
label_desc: Use image node_id 2 for calling a global function with example usage: _make_warp(batch_size, warp_height, warp_width, dtype) and returns: warp