# Inspecting Tactic Replay Files


## Introduction

The `inspect tactics` subtool can display information about TensorRT tactic replay
files generated by Polygraphy.


## Running The Example

1. Generate a tactic replay file:

    ```bash
    polygraphy run model.onnx --trt --save-tactics replay.json
    ```

2. Inspect the tactic replay:

    ```bash
    polygraphy inspect tactics replay.json
    ```

    This will display something like:

    ```
    [I] Layer: ONNXTRT_Broadcast
            Algorithm: (Implementation: 2147483661, Tactic: 0) | Inputs: (('DataType.FLOAT'),) | Outputs: (('DataType.FLOAT'),)
        Layer: node_of_z
            Algorithm: (Implementation: 2147483651, Tactic: 1) | Inputs: (('DataType.FLOAT'), ('DataType.FLOAT')) | Outputs: (('DataType.FLOAT'),)
    ```
