How to check my TensorRT version

There is no easy way to do this because there could also be CUDA driver changes between JetPack 3.3 and JetPack 4.2. The TensoRT version in JetPack 4.2 should be 5.0 (specifically 5.0.6.3).