NVIDIA DeepStream SDK API Reference

9.1 Release
sources/includes/nvdsinfer_tlt.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2019-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
36 #ifndef __NVDSINFER_TLT_H__
37 #define __NVDSINFER_TLT_H__
38 
39 #include <nvdsinfer_custom_impl.h>
40 
49 extern "C"
50 bool NvDsInferCudaEngineGetFromTltModel(nvinfer1::IBuilder * const builder,
51  nvinfer1::IBuilderConfig * const builderConfig,
52  const NvDsInferContextInitParams * const initParams,
53  nvinfer1::DataType dataType,
54  nvinfer1::ICudaEngine *& cudaEngine);
55 
56 #endif
57 
ds3d::DataType
DataType
Definition: sources/includes/ds3d/common/idatatype.h:82
NvDsInferCudaEngineGetFromTltModel
bool NvDsInferCudaEngineGetFromTltModel(nvinfer1::IBuilder *const builder, nvinfer1::IBuilderConfig *const builderConfig, const NvDsInferContextInitParams *const initParams, nvinfer1::DataType dataType, nvinfer1::ICudaEngine *&cudaEngine)
Decodes and creates a CUDA engine file from a TLT encoded model.
_NvDsInferContextInitParams
Holds the initialization parameters required for the NvDsInferContext interface.
Definition: sources/includes/nvdsinfer_context.h:246
nvdsinfer_custom_impl.h