parameters: (model)
docstring: Finds back to back quantize ops and remove the first quantize op.
docstring_summary: Finds back to back quantize ops and remove the first quantize op.
docstring_tokens: Finds back to back quantize ops and remove the first quantize op .
function: def _remove_redundant_quantize_ops(model):
    """Finds back to back quantize ops and remove the first quantize op."""
    if not model.signatureDefs:
      _remove_redundant_quantize_ops_per_subgraph(model, 0, -1)
      return
  
    for signature_index, signature_def in enumerate(model.signatureDefs):
      _remove_redundant_quantize_ops_per_subgraph(model,
                                                  signature_def.subgraphIndex,
                                                  signature_index)
function_tokens: def _remove_redundant_quantize_ops ( model ) : if not model . signatureDefs : _remove_redundant_quantize_ops_per_subgraph ( model , 0 , - 1 ) return for signature_index , signature_def in enumerate ( model . signatureDefs ) : _remove_redundant_quantize_ops_per_subgraph ( model , signature_def . subgraphIndex , signature_index )