code: def test_eval_by_node_name():
      i = C.input_variable(shape=(1,), needs_gradient=True, name="i")
      res = i + 3
  
      assert res.eval({i: [[3]]}) == [6]
      assert res.eval({"i": [[3]]}) == [6]
      assert res.eval({"i": [[3]]}) == [6]
  
imports: import numpy
  import os
  import pytest
  import cntk
  from .ops_test_utils import compare_lists_of_np_arrays, AA, cntk_device
  from cntk.io import MinibatchSource, CTFDeserializer, StreamDefs, StreamDef
label_desc: Use image node_id 2 for calling a global function with example usage: test_eval_by_node_name() without return types