code: def dask_cluster():
      cluster = LocalCluster(n_workers=2, threads_per_worker=2)
      yield cluster
      cluster.close()
  
file_path: stumpy/tests/test_aamp_stimp.py
imports: import naive
  import numpy
  import numpy.testing
  import pytest
  from dask.distributed import Client, LocalCluster
  from stumpy import aamp_stimp, aamp_stimped
label_desc: Use image node_id 1 for calling a global function with example usage: dask_cluster() without return types