code: def test_norm_any_slice(shape, chunks, norm, keepdims):
      a = np.random.default_rng().random(shape)
      d = da.from_array(a, chunks=chunks)
  
      for firstaxis in range(len(shape)):
          for secondaxis in range(len(shape)):
              if firstaxis != secondaxis:
                  axis = (firstaxis, secondaxis)
              else:
                  axis = firstaxis
              a_r = np.linalg.norm(
                  a, ord=norm, axis=axis, keepdims=keepdims
              )
              d_r = da.linalg.norm(
                  d, ord=norm, axis=axis, keepdims=keepdims
              )
              assert_eq(a_r, d_r)
  
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 38 for calling a global function with example usage: test_norm_any_slice(shape, chunks, norm, keepdims) without return types