code: def test_dtype(variable_type):
      c = variable_type(shape=(2, 3))
      assert c.dtype == np.float32
  
      c = variable_type(shape=(2, 3), dtype=np.float32)
      assert c.dtype == np.float32
  
      c = variable_type(shape=(2, 3), dtype=np.float64)
      assert c.dtype == np.float64
  
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 1 for calling a global function with example usage: test_dtype(variable_type) without return types