Assuming the IPluginV2IOExt and IPluginV3 plugins have been built, the engine that uses each of the plugins have been built, the unit tests can be run.
To run the unit test, please run the following command.
$ python -m unittest test_plugin
$ python -m unittest test_engineTo run the TensorRT engine, please run the following command.
$ python main.py --engine_file_path ../data/identity_neural_network_iplugin_v2_io_ext.engine --plugin_lib_file_path ../build/src/plugins/IdentityConvIPluginV2IOExt/libidentity_conv_iplugin_v2_io_ext.so$ python main.py --engine_file_path ../data/identity_neural_network_iplugin_v3.engine --plugin_lib_file_path ../build/src/plugins/IdentityConvIPluginV3/libidentity_conv_iplugin_v3.so