code: def test_simple():
      valid_input = np.array([13, 4]).astype(np.float32)
      valid_input = np.reshape(valid_input, (1, 1, 2, 1))
      indices = np.array([1, 6]).astype(np.float32)
      indices = np.reshape(indices, (1, 1, 2, 1))
      output_shape = (1, 2, 4, 1)
      expected_output = np.array([0, 13, 0, 0, 0, 0, 4, 0]).astype(
          np.float32
      )
      expected_output = np.reshape(expected_output, output_shape)
  
      output = MaxUnpooling2DV2(output_shape)(
          valid_input, indices
      ).numpy()
      np.testing.assert_array_equal(expected_output, output)
  
file_path: addons/tensorflow_addons/layers/tests/max_unpooling_2d_v2_test.py
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow_addons.layers.max_unpooling_2d_v2 import MaxUnpooling2DV2
label_desc: Use image node_id 1 for calling a global function with example usage: test_simple() without return types