code: def test_value_all(self, data):
      # test orig
      self.run_test(data)
  
      # test in numpy
      data["vals"] = np.array(data["vals"])
      data["avg"] = np.array(data["avg"])
      self.run_test(data)
  
      # test as Tensors
      data["vals"] = torch.tensor(data["vals"])
      data["avg"] = torch.tensor(data["avg"], dtype=torch.float)
      self.run_test(data)
  
      if torch.cuda.is_available():
          data["vals"] = data["vals"].cuda()
          self.run_test(data)
  
file_path: MONAI/tests/test_cumulative_average.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from monai.metrics import CumulativeAverage
label_desc: Use image node_id 1 for calling the TestAverageMeter obj's underlying member method code with example usage: obj.test_value_all(data) without return types