code: def test_monai_activations_value_shape(
      self, input_param, img, out, expected_shape
  ):
      act = Act[input_param]()
      result = act(img)
      assert_allclose(result, out, rtol=1e-2, atol=1e-5)
      self.assertTupleEqual(result.shape, expected_shape)
  
file_path: MONAI/tests/test_activations.py
imports: from __future__ import annotations
  import unittest
  import torch
  from parameterized import parameterized
  from monai.networks.layers.factories import Act
  from monai.transforms import Activations
  from tests.utils import TEST_NDARRAYS, assert_allclose
label_desc: Use image node_id 2 for calling the TestActivations obj's underlying member method code with example usage: obj.test_monai_activations_value_shape(input_param, img, out, expected_shape) without return types