code: def test_nvtx_transfroms_dict(self, input):
      # with prob == 0.0
      transforms = Compose(
          [
              RandMarkD("Mark: Transforms (p=0) Start!"),
              RandRangePushD("Range: RandFlipD"),
              RandFlipD(keys="image", prob=0.0),
              RandRangePopD(),
              RangePushD("Range: ToTensorD"),
              ToTensorD(keys=("image")),
              RangePopD(),
              MarkD("Mark: Transforms (p=0) End!"),
          ]
      )
      output = transforms(input)
      self.assertIsInstance(output["image"], torch.Tensor)
      np.testing.assert_array_equal(input["image"], output["image"])
      # with prob == 1.0
      transforms = Compose(
          [
              RandMarkD("Mark: Transforms (p=1) Start!"),
              RandRangePushD("Range: RandFlipD"),
              RandFlipD(keys="image", prob=1.0),
              RandRangePopD(),
              RangePushD("Range: ToTensorD"),
              ToTensorD(keys=("image")),
              RangePopD(),
              MarkD("Mark: Transforms (p=1) End!"),
          ]
      )
      output = transforms(input)
      self.assertIsInstance(output["image"], torch.Tensor)
      np.testing.assert_array_equal(
          input["image"], Flip()(output["image"].numpy())
      )
  
file_path: MONAI/tests/test_nvtx_transform.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from monai.transforms import Compose, Flip, RandFlip, RandFlipD, RandomizableTrait, ToTensor, ToTensorD
  from monai.transforms.nvtx import Mark, MarkD, RandMark, RandMarkD, RandRangePop, RandRangePopD, RandRangePush, RandRangePushD, RangePop, RangePopD, RangePush, RangePushD
  from monai.utils import optional_import
label_desc: Use image node_id 3 for calling the TestNVTXTransforms obj's underlying member method code with example usage: obj.test_nvtx_transfroms_dict(input) without return types