code: def match(self, node):
      is_match = (
          node.class_name == "Activation"
          and node.get_attr("activation")
          in ["binary", "binary_tanh", "ternary", "ternary_tanh"]
          or node.class_name == "TernaryTanh"
      )
      is_match = is_match and isinstance(
          node.get_input_node(), BatchNormalization
      )
      return is_match
  
imports: import numpy
  from hls4ml.backends.fpga.fpga_layers import BatchNormalizationQuantizedTanh
  from hls4ml.backends.template import FunctionCallTemplate, LayerConfigTemplate
  from hls4ml.model.layers import BatchNormalization, register_layer
  from hls4ml.model.optimizer import OptimizerPass
  from hls4ml.model.types import IntegerPrecisionType, NamedType, XnorPrecisionType
label_desc: Use image node_id 1 for calling the MergeBatchNormAndQuantizedTanh obj's underlying member method code with example usage: obj.match(node) and returns: is_match