parameters: (node: Node)
return_statement: return graph.erase_node(node)
docstring: Erases node from the graph and reconnect edges from input node(s) to output node(s)
      Produces assertion error if the node being removed has multiple inputs or outputs.
      The function can be used in the front phase only (when there are no data nodes in the graph).
      :param node: Node to erase
docstring_summary: Erases node from the graph and reconnect edges from input node(s) to output node(s)
      Produces assertion error if the node being removed has multiple inputs or outputs.
      The function can be used in the front phase only (when there are no data nodes in the graph).
      :param node: Node to erase
docstring_tokens: Erases node from the graph and reconnect edges from input node ( s ) to output node ( s ) Produces assertion error if the node being removed has multiple inputs or outputs . The function can be used in the front phase only ( when there are no data nodes in the graph ) . : param node : Node to erase
function: def erase_node(node: Node):
      """
      Erases node from the graph and reconnect edges from input node(s) to output node(s)
      Produces assertion error if the node being removed has multiple inputs or outputs.
      The function can be used in the front phase only (when there are no data nodes in the graph).
      :param node: Node to erase
      """
      graph = node.graph
      return graph.erase_node(node)
function_tokens: def erase_node ( node : Node ) : graph = node . graph return graph . erase_node ( node )