code: def test_torch_set_default_dtype(
      *,
      dtype,
  ):
      dtype = dtype[0]
      torch_frontend.set_default_dtype(dtype)
      assert torch_frontend.get_default_dtype() == dtype
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_torch/test_dtype.py
imports: from hypothesis import settings, strategies
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers.testing_helpers import handle_frontend_test
  import ivy.functional.frontends.torch
label_desc: Use image node_id 3 for calling a global function with example usage: test_torch_set_default_dtype() without return types