CatSnowdrop's picture
Upload 379 files
610d9c2 verified
Raw History Blame Contribute Delete
420 Bytes
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# --------------------------------------------------------------------------
import tensorrt as trt
TRT_LOGGER = trt.Logger(trt.Logger.ERROR)
def init_trt_plugins():
# Register TensorRT plugins
trt.init_libnvinfer_plugins(TRT_LOGGER, "")