Runners

Module: polygraphy.tools.args

class TrtRunnerArgs[source]

Bases: polygraphy.tools.args.base.BaseRunnerArgs

TensorRT Inference: running inference with TensorRT.

Depends on:

  • TrtLoadEngineArgs

parse_impl(args)[source]

Parses command-line arguments and populates the following attributes:

optimization_profile

The index of the optimization profile to initialize the runner with.

Type

int