code: def test_cntk_basic():
      try:
          import tensorflow
  
          has_tensorflow = True
      except:
          has_tensorflow = False
  
      if has_tensorflow:
          tf_baseline_basic()
      else:
          cntk_baseline_basic()
  
      import cntk as C
      import cntk.contrib.crosstalk.crosstalk_cntk as crct
  
      ci = crct.instance
      ci.set_workdir(workdir)
  
      p1 = C.parameter(shape1)
      p2 = C.parameter(shape2)
      ci.watch(p1, "p1")
      ci.watch(
          {"param1": p1, "param2": p2},
          "p1_p2",
          var_type=crct.DictParameterType,
      )
  
      ci.assign("p1", load=True)
      assert np.isclose(p1.value, param1).all()
  
      ci.assign("p1_p2", load=True)
      assert (
          np.isclose(p1.value, param1).all()
          and np.isclose(p2.value, param2).all()
      )
  
      # test assign with value
      ci.assign("p1", value=param1)
      ci.assign("p1_p2", value={"param1": param1, "param2": param2})
  
      ci.reset()
  
imports: import pytest
  import numpy
  from cntk.contrib import crosstalk
  import tempfile
label_desc: Use image node_id 3 for calling a global function with example usage: test_cntk_basic() without return types