code: def test_0d_data_1d_sample_shape():
      x = C.input_variable(shape=(1,))
      op = x + x
  
      with pytest.raises(ValueError):
          op.eval({x: [np.asarray(2)]})
  
file_path: CNTK/bindings/python/cntk/tests/function_test.py
imports: import pytest
  import numpy
  import cntk
label_desc: Use image node_id 2 for calling a global function with example usage: test_0d_data_1d_sample_shape() without return types