code: def test_logspace_with_complex_input(self):
      actual = refs.logspace(2, 10 + 5j, steps=5)
      expect = torch.logspace(2, 10 + 5j, steps=5)
      self.assertEqual(actual, expect)
  
imports: from functools import partial
  from itertools import product
  import unittest
  import torch
  from torch.testing import make_tensor
  from torch.testing._internal.common_utils import parametrize, run_tests, TestCase, TEST_SCIPY, set_default_dtype
  from torch.testing._internal.common_device_type import instantiate_device_type_tests, onlyCUDA, dtypes, OpDTypes
  from torch.testing._internal.common_methods_invocations import op_db
  from torch.testing._internal.common_device_type import ops
  from torch.testing._internal.logging_tensor import LoggingTensor, capture_logs, log_input
  import torch._prims
  from torch._prims_common import CUDARngStateHelper
  from torch._prims.executor import make_traced
  import torch._refs
label_desc: Use image node_id 3 for calling the TestRefs obj's underlying member method code with example usage: obj.test_logspace_with_complex_input() without return types