NVIDIA DeepStream SDK API Reference

7.0 Release
Model.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA CORPORATION and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA CORPORATION is strictly prohibited.
9  */
10 
11 #ifndef CVCORE_MODEL_H
12 #define CVCORE_MODEL_H
13 
14 #include <vector>
15 
16 #include "Image.h"
17 
18 namespace cvcore {
19 
24 {
25  size_t maxBatchSize;
26  size_t inputLayerWidth;
29 };
30 
35 {
36  std::string engineFilePath;
37  std::vector<std::string> inputLayers;
38  std::vector<std::string> outputLayers;
39 };
40 
41 } // namespace cvcore
42 
43 #endif // CVCORE_MODEL_H
cvcore::ModelInferenceParams
Struct to describe the model.
Definition: Model.h:34
cvcore::ModelInputParams::maxBatchSize
size_t maxBatchSize
maxbatchSize supported by network
Definition: Model.h:25
cvcore
Definition: PnP.h:20
cvcore::ModelInferenceParams::engineFilePath
std::string engineFilePath
Engine file path.
Definition: Model.h:36
Image.h
cvcore::ModelInputParams::inputLayerHeight
size_t inputLayerHeight
Input layer Height.
Definition: Model.h:27
cvcore::ImageType
ImageType
An enum.
Definition: Image.h:28
cvcore::ModelInferenceParams::outputLayers
std::vector< std::string > outputLayers
names of output layers.
Definition: Model.h:38
cvcore::ModelInputParams::inputLayerWidth
size_t inputLayerWidth
Input layer width.
Definition: Model.h:26
cvcore::ModelInputParams
Struct to describe input type required by the model.
Definition: Model.h:23
cvcore::ModelInferenceParams::inputLayers
std::vector< std::string > inputLayers
names of input layers.
Definition: Model.h:37
cvcore::ModelInputParams::modelInputType
ImageType modelInputType
Input Layout type.
Definition: Model.h:28