parameters: (self, device_name)
return_statement: return self._merge_node_names[device_name]
docstring: Lazily get a list of Merge nodes on a given device.
docstring_summary: Lazily get a list of Merge nodes on a given device.
docstring_tokens: Lazily get a list of Merge nodes on a given device .
function: def _get_merge_node_names(self, device_name):
      """Lazily get a list of Merge nodes on a given device."""
      if device_name not in self._device_names:
        raise ValueError("Invalid device name: %s" % device_name)
  
      if not hasattr(self, "_merge_node_names"):
        self._merge_node_names = {}
      if device_name not in self._merge_node_names:
        debug_graph = self._debug_graphs[device_name]
        self._merge_node_names[device_name] = [
            node for node in debug_graph.node_op_types
            if debug_graph.node_op_types[node] == "Merge"]
      return self._merge_node_names[device_name]
function_tokens: def _get_merge_node_names ( self , device_name ) : if device_name not in self . _device_names : raise ValueError ( "Invalid device name: %s" % device_name ) if not hasattr ( self , "_merge_node_names" ) : self . _merge_node_names = { } if device_name not in self . _merge_node_names : debug_graph = self . _debug_graphs [ device_name ] self . _merge_node_names [ device_name ] = [ node for node in debug_graph . node_op_types if debug_graph . node_op_types [ node ] == "Merge" ] return self . _merge_node_names [ device_name ]