code: def test_combine_duplicated_inputs():
      input_dim = 1
      proj_dim = 2
      x = C.input_variable((input_dim,), name="x")
      b = C.parameter((proj_dim), name="b")
      w = C.parameter((input_dim, proj_dim), name="w")
      func_name = "t_plus_b"
      t = C.times(x, w)
      t_plus_b = C.plus(t, b, name=func_name)
  
      duplicated_t_plus_b = C.combine([t_plus_b, t_plus_b])
  
      def compare_var_names(vars, names):
          num_vars = len(vars)
          for i in range(num_vars):
              if vars[i].name != names[i]:
                  return False
  
          return True
  
      assert compare_var_names(
          duplicated_t_plus_b.outputs, [func_name, func_name]
      )
  
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 18 for calling a global function with example usage: test_combine_duplicated_inputs() and returns: True, False