code: def test_patch_inferer_tensor(
      self, inputs, arguments, network, expected
  ):
      inferer = PatchInferer(**arguments)
      output = inferer(inputs=inputs, network=network)
      assert_allclose(output, expected)
  
file_path: MONAI/tests/test_patch_inferer.py
imports: from __future__ import annotations
  import unittest
  import torch
  from parameterized import parameterized
  from torch.nn.functional import avg_pool2d, pad
  from monai.data.meta_tensor import MetaTensor
  from monai.inferers import AvgMerger, PatchInferer, SlidingWindowSplitter
  from tests.utils import assert_allclose
label_desc: Use image node_id 1 for calling the PatchInfererTests obj's underlying member method code with example usage: obj.test_patch_inferer_tensor(inputs, arguments, network, expected) without return types