code: def test_padding(C, H, W, params, output):
      x = F.constant(1, (1, C, H, W))
      y = F.patch_correlation(x, x, **params)
      y.forward()
      assert np.allclose(y.d, output * C)
  
file_path: nnabla/python/test/function/test_patch_correlation.py
imports: import pytest
  import numpy
  import nnabla
  import nnabla.functions
  from nbla_test_utils import list_context, function_tester
label_desc: Use image node_id 2 for calling a global function with example usage: test_padding(C, H, W, params, output) without return types