# Python API ## view() - view(*model: str | object | None = None*, *reports: str | List[str] | None = None*, *options: DisplayOptions | None = None*) - Opens a visualization window(s) to display a model, reports, or both. - Parameters: - - **model** – Optional path to a given model or QAIRT Model object - **reports** – A single path or list of paths representing different reports for the visualization window to display. - **options** – Customizes the visualization window behavior. ## diff() - diff(*reference\_model\_path: str*, *comparison\_model\_path: str*, *diff\_options: DiffOptions = DiffOptions(compare\_op\_attributes=True, compare\_op\_names=True, compare\_tensor\_data=True, compare\_tensor\_names=True, compare\_tensor\_shapes=True, compare\_quantization\_encoding=True, rel\_tolerance=1e-09, abs\_tolerance=1e-07, output\_path=None, profile=False, changes\_only=False)*) → str - Compare two models and return a diff report path. - Parameters: - - **reference\_model\_path** – Path to the reference model file - **comparison\_model\_path** – Path to the comparison model file - **diff\_options** – Diff customization options for model comparison and report generation - Returns: - Path to the diff report ### DisplayOptions - DisplayOptions(*\**, *use\_same\_workspace: bool = True*) → None - List of Window view() call options Last Published: Aug 19, 2026 [Previous Topic QNN HTP Analysis Summary](https://docs.qualcomm.com/bundle/publicresource/80-87189-1/topics/features.md) [Next Topic Changelogs](https://docs.qualcomm.com/bundle/publicresource/80-87189-1/topics/changelogs.md)