code: def test_with_pooling_simple():
      valid_input = np.array([1, 2, 3, 4, 5, 6, 7, 8]).astype(
          np.float32
      )
      valid_input = np.reshape(valid_input, (1, 2, 4, 1))
      updates, indices = tf.nn.max_pool_with_argmax(
          valid_input, ksize=[2, 2], strides=[2, 2], padding="SAME"
      )
      expected_output = np.array([0, 0, 0, 0, 0, 6, 0, 8]).astype(
          np.float32
      )
      expected_output = np.reshape(expected_output, valid_input.shape)
  
      output = MaxUnpooling2D()(updates, indices).numpy()
      np.testing.assert_array_equal(expected_output, output)
  
file_path: addons/tensorflow_addons/layers/tests/max_unpooling_2d_test.py
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow_addons.layers.max_unpooling_2d import MaxUnpooling2D
label_desc: Use image node_id 6 for calling a global function with example usage: test_with_pooling_simple() without return types