You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nvinfer1::IElementWiseLayer* convBnSilu(nvinfer1::INetworkDefinition* network, std::map<std::string, nvinfer1::Weights>& weightMap, nvinfer1::ITensor& input, int c2, int k, int s, int p, std::string lname);
11
+
12
+
nvinfer1::ILayer* ReOrg(nvinfer1::INetworkDefinition* network, std::map<std::string, nvinfer1::Weights>& weightMap, nvinfer1::ITensor& input, int inch);
13
+
14
+
nvinfer1::ILayer* DownC(nvinfer1::INetworkDefinition* network, std::map<std::string, nvinfer1::Weights>& weightMap, nvinfer1::ITensor& input, int c1, int c2, const std::string& lname);
nvinfer1::IElementWiseLayer* RepConv(nvinfer1::INetworkDefinition* network, std::map<std::string, nvinfer1::Weights>& weightMap, nvinfer1::ITensor& input, int c2, int k, int s, const std::string& lname);
19
+
20
+
nvinfer1::IActivationLayer* convBlockLeakRelu(nvinfer1::INetworkDefinition* network, std::map<std::string, nvinfer1::Weights>& weightMap, nvinfer1::ITensor& input, int outch, int ksize, int s, int p, std::string lname);
__global__voidCalDetection(constfloat *input, float *output, int noElements,
153
-
constint netwidth, constint netheight, int maxoutobject, int yoloWidth, int yoloHeight, constfloat anchors[Yolo::CHECK_COUNT * 2], int classes, int outputElem) {
153
+
constint netwidth, constint netheight, int maxoutobject, int yoloWidth, int yoloHeight, constfloat anchors[kNumAnchor * 2], int classes, int outputElem) {
154
154
int idx = threadIdx.x + blockDim.x * blockIdx.x;
155
155
if (idx >= noElements) return;
156
156
157
157
int total_grid = yoloWidth * yoloHeight; // 80*80 40*40 20*20
0 commit comments