class_docstr: Test class simulates the bundle workflow defined by Python script directly.
class_docstr_tok: ["Test","class","simulates","the","bundle","workflow","defined","by","Python","script","directly","."]
code: def _set_property(self, name, property, value):
      if name == "bundle_root":
          self._bundle_root = value
      elif name == "device":
          self._device = value
      elif name == "dataset_dir":
          self._dataset_dir = value
      elif name == "dataset_data":
          self._data = value
      elif name == "dataset":
          self._dataset = value
      elif name == "evaluator":
          self._evaluator = value
      elif name == "network_def":
          self._network_def = value
      elif name == "inferer":
          self._inferer = value
      elif name == "preprocessing":
          self._preprocessing = value
      elif name == "postprocessing":
          self._postprocessing = value
      elif name == "version":
          self._version = value
      elif name == "monai_version":
          self._monai_version = value
      elif name == "pytorch_version":
          self._pytorch_version = value
      elif name == "numpy_version":
          self._numpy_version = value
      elif property[BundleProperty.REQUIRED]:
          raise ValueError(
              f"unsupported property '{name}' is required in the bundle properties."
          )
  
file_path: MONAI/tests/nonconfig_workflow.py
imports: from __future__ import annotations
  import torch
  from monai.bundle import BundleWorkflow
  from monai.data import DataLoader, Dataset
  from monai.engines import SupervisedEvaluator
  from monai.inferers import SlidingWindowInferer
  from monai.networks.nets import UNet
  from monai.transforms import Activationsd, AsDiscreted, Compose, EnsureChannelFirstd, LoadImaged, SaveImaged, ScaleIntensityd
  from monai.utils import BundleProperty, set_determinism
label_desc: Use image node_id 6 for calling the NonConfigWorkflow obj's underlying member method code with example usage: obj._set_property(name, property, value) without return types