parameters: (self,
                                                   device_name,
                                                   nodes_to_prune)
docstring: Prune nodes out of input and recipient maps.
  
      Args:
        device_name: (`str`) device name.
        nodes_to_prune: (`list` of `str`) Names of the nodes to be pruned.
docstring_summary: Prune nodes out of input and recipient maps.
docstring_tokens: Prune nodes out of input and recipient maps .
function: def _prune_nodes_from_input_and_recipient_maps(self,
                                                   device_name,
                                                   nodes_to_prune):
      """Prune nodes out of input and recipient maps.
  
      Args:
        device_name: (`str`) device name.
        nodes_to_prune: (`list` of `str`) Names of the nodes to be pruned.
      """
  
      for node in nodes_to_prune:
        del self._node_inputs[device_name][node]
        del self._node_ctrl_inputs[device_name][node]
        del self._node_recipients[device_name][node]
        del self._node_ctrl_recipients[device_name][node]
function_tokens: def _prune_nodes_from_input_and_recipient_maps ( self , device_name , nodes_to_prune ) : for node in nodes_to_prune : del self . _node_inputs [ device_name ] [ node ] del self . _node_ctrl_inputs [ device_name ] [ node ] del self . _node_recipients [ device_name ] [ node ] del self . _node_ctrl_recipients [ device_name ] [ node ]