Skip to content

Commit

Permalink
Switch order of float and quantized for comparison function.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 653325645
  • Loading branch information
ai-edge-bot authored and copybara-github committed Jul 17, 2024
1 parent 65fd572 commit 55f630a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai_edge_quantizer/model_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def compare_model(
target_interpreter, target_name_to_details[tensor_name]
)
comparison_results[tensor_name].append(
compare_fn(reference_data, target_data)
compare_fn(target_data, reference_data)
)

agregated_results = {}
Expand Down

0 comments on commit 55f630a

Please sign in to comment.