code: def test_validation_before_eval():
      w = C.parameter((4, C.InferredDimension))
      v = C.parameter((C.InferredDimension, 5))
      wv = C.times(w, v)
  
      p = C.input((4, 1))
      wp = C.times(w, p)
  
      q = C.input((1, 5))
      qv = C.times(q, v)
  
      with pytest.raises(ValueError):
          wv.eval()
  
file_path: CNTK/bindings/python/cntk/ops/tests/evaluation_test.py
imports: from __future__ import division
  import numpy
  import pytest
  from .ops_test_utils import _test_binary_op, AA, precision, PRECISION_TO_TYPE, unittest_helper
  from cntk import dropout, combine
  import cntk
label_desc: Use image node_id 8 for calling a global function with example usage: test_validation_before_eval() without return types