import tensorrt as trt

if hasattr(trt, "__version__"):
    from .activation import *  # noqa: F403
    from .adaptive_avgpool import *  # noqa: F403
    from .add import *  # noqa: F403
    from .batchnorm import *  # noqa: F403
    from .convolution import *  # noqa: F403
    from .linear import *  # noqa: F403
    from .maxpool import *  # noqa: F403
    from .mul import *  # noqa: F403
    from .transformation import *  # noqa: F403
    from .quantization import *  # noqa: F403
    from .acc_ops_converters import *  # noqa: F403

    TRT_LOGGER = trt.Logger()
    trt.init_libnvinfer_plugins(TRT_LOGGER, '')
