code: def test_conversions():
      n, sz, d = 15, 10, 3
      rng = np.random.RandomState(0)
      tslearn_dataset = rng.randn(n, sz, d)
  
      assert_allclose(
          tslearn_dataset,
          tslearn.utils.from_pyts_dataset(
              tslearn.utils.to_pyts_dataset(tslearn_dataset)
          ),
      )
  
      assert_allclose(
          tslearn_dataset,
          tslearn.utils.from_seglearn_dataset(
              tslearn.utils.to_seglearn_dataset(tslearn_dataset)
          ),
      )
  
      assert_allclose(
          tslearn_dataset,
          tslearn.utils.from_stumpy_dataset(
              tslearn.utils.to_stumpy_dataset(tslearn_dataset)
          ),
      )
  
file_path: tslearn/tslearn/tests/test_utils.py
imports: from tempfile import gettempdir
  from os.path import join
  import numpy
  import pickle
  from numpy.testing import assert_allclose
  import pytest
  import tslearn.utils
label_desc: Use image node_id 4 for calling a global function with example usage: test_conversions() without return types