code: def test_shape(self, input_param, input_shape, expected_shape):
      net = PatchEmbeddingBlock(**input_param)
      with eval_mode(net):
          result = net(torch.randn(input_shape))
          self.assertEqual(result.shape, expected_shape)
  
imports: from __future__ import annotations
  import unittest
  from unittest import skipUnless
  import torch
  import torch.nn
  from parameterized import parameterized
  from monai.networks import eval_mode
  from monai.networks.blocks.patchembedding import PatchEmbed, PatchEmbeddingBlock
  from monai.utils import optional_import
  from tests.utils import SkipIfBeforePyTorchVersion
label_desc: Use image node_id 3 for calling the TestPatchEmbeddingBlock obj's underlying member method code with example usage: obj.test_shape(input_param, input_shape, expected_shape) without return types