trtutils.inspect package¶
Module contents¶
Submodule containing tools for inspecting TensorRT engines.
Functions¶
get_engine_names()Get the input/output names of a TensorRT engine in order.
inspect_engine()Inspect a TensorRT engine.
- trtutils.inspect.get_engine_names(engine: Path | str | ICudaEngine) tuple[list[str], list[str]][source]¶
Get the input/output names of a TensorRT engine in order.
- trtutils.inspect.inspect_engine(engine: Path | str | ICudaEngine, *, verbose: bool | None = None) tuple[int, int, list[tuple[str, tuple[int, ...], DataType, TensorFormat]], list[tuple[str, tuple[int, ...], DataType, TensorFormat]]][source]¶
Inspect a TensorRT engine.