parameters: (input_node)
return_statement: return input_node
docstring: using HardSwish replace the Sigmoid and Mul
      Args:
          input_node: the nodes of ONNX model
      Returns:
          the new node
docstring_summary: using HardSwish replace the Sigmoid and Mul
      Args:
          input_node: the nodes of ONNX model
      Returns:
          the new node
docstring_tokens: using HardSwish replace the Sigmoid and Mul Args : input_node : the nodes of ONNX model Returns : the new node
function: def fusion_hardswish(input_node):
      """
      using HardSwish replace the Sigmoid and Mul
      Args:
          input_node: the nodes of ONNX model
      Returns:
          the new node
      """     
      del_list = []
      for i in range(len(input_node) - 1):
          if (input_node[i].op_type == 'Sigmoid' and input_node[i+1].op_type == 'Mul'):
              input_node[i].output[0] = input_node[i+1].output[0]
              input_node[i].op_type = 'HardSwish'
              del_list.append(i + 1)
  
      for i in range(len(del_list)-1, -1, -1):
          del input_node[del_list[i]]
  
      return input_node
function_tokens: def fusion_hardswish ( input_node ) : del_list = [ ] for i in range ( len ( input_node ) - 1 ) : if ( input_node [ i ] . op_type == 'Sigmoid' and input_node [ i + 1 ] . op_type == 'Mul' ) : input_node [ i ] . output [ 0 ] = input_node [ i + 1 ] . output [ 0 ] input_node [ i ] . op_type = 'HardSwish' del_list . append ( i + 1 ) for i in range ( len ( del_list ) - 1 , - 1 , - 1 ) : del input_node [ del_list [ i ] ] return input_node