code: def test_constant():
      val = np.asarray([[1, 2], [3, 4]])
      c = constant(val)
      assert np.allclose(c.value, val)
  
file_path: CNTK/bindings/python/cntk/tests/variables_test.py
imports: from ..None import times, placeholder, constant, plus, alias, initializer
  import numpy
  import cntk
  import pytest
label_desc: Use image node_id 6 for calling a global function with example usage: test_constant() without return types