|
7 | 7 |
|
8 | 8 | std::map<std::string, nvinfer1::Weights> loadWeights(const std::string file);
|
9 | 9 |
|
10 |
| -nvinfer1::IScaleLayer *addBatchNorm2d(nvinfer1::INetworkDefinition *network, |
11 |
| - std::map<std::string, nvinfer1::Weights> weightMap, |
12 |
| - nvinfer1::ITensor &input, std::string lname, float eps); |
| 10 | +nvinfer1::IScaleLayer* addBatchNorm2d(nvinfer1::INetworkDefinition* network, |
| 11 | + std::map<std::string, nvinfer1::Weights> weightMap, nvinfer1::ITensor& input, |
| 12 | + std::string lname, float eps); |
13 | 13 |
|
14 |
| -nvinfer1::IElementWiseLayer *convBnSiLU(nvinfer1::INetworkDefinition *network, |
15 |
| - std::map<std::string, nvinfer1::Weights> weightMap, nvinfer1::ITensor &input, |
| 14 | +nvinfer1::IElementWiseLayer* convBnSiLU(nvinfer1::INetworkDefinition* network, |
| 15 | + std::map<std::string, nvinfer1::Weights> weightMap, nvinfer1::ITensor& input, |
16 | 16 | int ch, int k, int s, int p, std::string lname);
|
17 | 17 |
|
18 |
| -nvinfer1::IElementWiseLayer *C2F(nvinfer1::INetworkDefinition *network, |
19 |
| - std::map<std::string, nvinfer1::Weights> weightMap, nvinfer1::ITensor &input, int c1, |
| 18 | +nvinfer1::IElementWiseLayer* C2F(nvinfer1::INetworkDefinition* network, |
| 19 | + std::map<std::string, nvinfer1::Weights> weightMap, nvinfer1::ITensor& input, int c1, |
20 | 20 | int c2, int n, bool shortcut, float e, std::string lname);
|
21 | 21 |
|
22 |
| -nvinfer1::IElementWiseLayer *C2(nvinfer1::INetworkDefinition *network, |
23 |
| - std::map<std::string, nvinfer1::Weights> &weightMap, nvinfer1::ITensor &input, int c1, |
| 22 | +nvinfer1::IElementWiseLayer* C2(nvinfer1::INetworkDefinition* network, |
| 23 | + std::map<std::string, nvinfer1::Weights>& weightMap, nvinfer1::ITensor& input, int c1, |
24 | 24 | int c2, int n, bool shortcut, float e, std::string lname);
|
25 | 25 |
|
26 |
| -nvinfer1::IElementWiseLayer *SPPF(nvinfer1::INetworkDefinition *network, |
27 |
| - std::map<std::string, nvinfer1::Weights> weightMap, nvinfer1::ITensor &input, int c1, |
| 26 | +nvinfer1::IElementWiseLayer* SPPF(nvinfer1::INetworkDefinition* network, |
| 27 | + std::map<std::string, nvinfer1::Weights> weightMap, nvinfer1::ITensor& input, int c1, |
28 | 28 | int c2, int k, std::string lname);
|
29 | 29 |
|
30 |
| -nvinfer1::IShuffleLayer *DFL(nvinfer1::INetworkDefinition *network, std::map<std::string, nvinfer1::Weights> weightMap, |
31 |
| - nvinfer1::ITensor &input, int ch, int grid, int k, int s, int p, std::string lname); |
| 30 | +nvinfer1::IShuffleLayer* DFL(nvinfer1::INetworkDefinition* network, std::map<std::string, nvinfer1::Weights> weightMap, |
| 31 | + nvinfer1::ITensor& input, int ch, int grid, int k, int s, int p, std::string lname); |
32 | 32 |
|
33 |
| -nvinfer1::IPluginV2Layer *addYoLoLayer(nvinfer1::INetworkDefinition *network, |
34 |
| - std::vector<nvinfer1::IConcatenationLayer *> dets, const int *px_arry, |
| 33 | +nvinfer1::IPluginV2Layer* addYoLoLayer(nvinfer1::INetworkDefinition* network, |
| 34 | + std::vector<nvinfer1::IConcatenationLayer*> dets, const int* px_arry, |
35 | 35 | int px_arry_num, bool is_segmentation, bool is_pose);
|
0 commit comments