class_docstr: OptimizerPass to remove consecutive HReverse layers.
class_docstr_tok: ["OptimizerPass","to","remove","consecutive","HReverse","layers","."]
code: def transform(self, model, node):
      first = node.get_input_node()
      second = node
  
      model.remove_node(first, rewire=True)
      model.remove_node(second, rewire=True)
      return True
  
imports: from pathlib import Path
  import numpy
  import pytest
  import tensorflow
  import hls4ml
label_desc: Use image node_id 2 for calling the RemoveDuplicateReverse obj's underlying member method code with example usage: obj.transform(model, node) and returns: True