class_docstr: Instace CNTK ops and network
class_docstr_tok: ["Instace","CNTK","ops","and","network"]
docstr:  Instace all nodes into CNTK ops
  
  Args:
      cntk_sorted_layers (list): the list contains the name of instaced layers with 
          traversal order
      cntk_layers (dict): the dict contains all layers definition
  
  Return:
      None
docstr_tok: ["Instace","all","nodes","into","CNTK","ops","Args",":","cntk_sorted_layers","(","list",")",":","the","list","contains","the","name","of","instaced","layers","with","traversal","order","cntk_layers","(","dict",")",":","the","dict","contains","all","layers","definition","Return",":","None"]
code: def instance_functions(self, cntk_sorted_layers, cntk_layers):
      """
       Instace all nodes into CNTK ops
  
      Args:
          cntk_sorted_layers (list): the list contains the name of instaced layers with
              traversal order
          cntk_layers (dict): the dict contains all layers definition
  
      Return:
          None
      """
      unused_func = set()
      for cntk_sorted_layer in cntk_sorted_layers:
          cntk_layer = cntk_layers[cntk_sorted_layer]
          local_inputs = []
          for local_input in cntk_layer.inputs:
              local_inputs.append(self._functions[local_input])
              if self._functions[local_input] in unused_func:
                  unused_func.remove(self._functions[local_input])
          self._functions[cntk_layer.op_name] = getattr(
              ApiSetup, cntk_layer.op_type.name
          )(cntk_layer, local_inputs)
          unused_func.add(self._functions[cntk_layer.op_name])
      self._output = ops.combine(list(unused_func), name="outputs")
  
imports: from operator import mul
  from functools import reduce
  import numpy
  import cntk
  import cntk.io.transforms
  from cntk import ops, io, learners, internal
  from cntk import Trainer
  from cntk.layers.blocks import BlockFunction
label_desc: Use image node_id 4 for calling the CntkApiInstance obj's underlying member method code with example usage: obj.instance_functions(cntk_sorted_layers, cntk_layers) without return types