code: def test_as_block_with_function_in_arguments_map():
      from .. import placeholder, as_block
  
      x = C.input_variable((1,), name="input")
      x_plus_2 = x + 2
  
      left_operand_placeholder = placeholder(name="left_placeholder")
      right_operand_placeholder = placeholder()
      plus_block = as_block(
          right_operand_placeholder + left_operand_placeholder,
          [
              (left_operand_placeholder, x_plus_2),
              (right_operand_placeholder, x),
          ],
          "plus",
      )
  
      # evaluate
      res = plus_block.eval({plus_block.arguments[0]: [[1.0]]})
  
      expected_forward = [[4.0]]
      assert np.array_equal(res, expected_forward)
  
file_path: CNTK/bindings/python/cntk/ops/tests/block_test.py
imports: from __future__ import division
  import numpy
  import pytest
  from .ops_test_utils import unittest_helper, _test_unary_op, _test_binary_op, AA, precision, PRECISION_TO_TYPE, cntk_device
  import cntk
  from cntk.axis import Axis
  from cntk.internal import sanitize_dtype_cntk
  from ..None import constant
label_desc: Use image node_id 4 for calling a global function with example usage: test_as_block_with_function_in_arguments_map() without return types