Shortcuts

compare_results

class torch.ao.quantization.compare_results(ref_results, actual_results)[source]

Given two dict mapping from debug_handle_id (int) to list of tensors return a map from debug_handle_id to NodeAccuracySummary that contains comparison information like SQNR, MSE etc.

Parameters
Returns

Dict[int, NodeAccuracySummary]

Return type

Dict[int, NodeAccuracySummary]

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources