code: def test_ConvertBounds(self) -> None:
      bounds = [(1.0, 2.0), (3.0, 4.0), (5.0, 6.0)]
      bounds_result = self.random_model._convert_bounds(bounds)
      bounds_expected = torch.tensor(
          [[1, 3, 5], [2, 4, 6]], dtype=torch.double
      )
      bounds_comparison = bounds_result == bounds_expected
      # pyre-fixme[16]: `bool` has no attribute `any`.
      self.assertEqual(bounds_comparison.any(), True)
      # pyre-fixme[6]: For 1st param expected `List[Tuple[float, float]]` but got
      #  `None`.
      self.assertEqual(self.random_model._convert_bounds(None), None)
  
file_path: Ax/ax/models/tests/test_random.py
imports: import numpy
  import torch
  from ax.models.random.base import RandomModel
  from ax.utils.common.testutils import TestCase
  from ax.utils.common.typeutils import not_none
label_desc: Use image node_id 7 for calling the RandomModelTest obj's underlying member method code with example usage: obj.test_ConvertBounds() without return types