The run
tool can be used to convert models, run inference, and compare results across frameworks. It can also generate a Python script that uses the Polygraphy Python API to do the same.
See polygraphy run -h
for usage information.
For examples, see this directory