code: def test_replace_placeholder_s():
      left_val = [[10, 2]]
      right_val = [[2], [3]]
  
      p = C.placeholder(shape=(1, 2))
      c = C.constant(left_val)
  
      op = C.times(p, right_val)
      op.replace_placeholders({p: c})
      assert op.eval() == 26
  
      op = C.times(p, right_val)
      op.replace_placeholder(c)
      assert op.eval() == 26
  
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 5 for calling a global function with example usage: test_replace_placeholder_s() without return types