code: def test_svd_compressed_dtype_preservation(input_dtype, output_dtype):
      x = (
          da.random.default_rng()
          .random((50, 50), chunks=(50, 50))
          .astype(input_dtype)
      )
      u, s, vt = svd_compressed(x, 1, seed=4321)
      assert u.dtype == s.dtype == vt.dtype == output_dtype
  
imports: from __future__ import annotations
  import sys
  import pytest
  import numpy
  import scipy.linalg
  from packaging.version import parse
  import dask.array
  from dask.array.linalg import qr, sfqr, svd, svd_compressed, tsqr
  from dask.array.numpy_compat import _np_version
  from dask.array.utils import assert_eq, same_keys, svd_flip
label_desc: Use image node_id 10 for calling a global function with example usage: test_svd_compressed_dtype_preservation(input_dtype, output_dtype) without return types