DeepStream 6.0 update
This commit is contained in:
26
nvdsinfer_custom_impl_Yolo/layers/convolutional_layer.h
Normal file
26
nvdsinfer_custom_impl_Yolo/layers/convolutional_layer.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Created by Marcos Luciano
|
||||
* https://www.github.com/marcoslucianops
|
||||
*/
|
||||
|
||||
#ifndef __CONVOLUTIONAL_LAYER_H__
|
||||
#define __CONVOLUTIONAL_LAYER_H__
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
#include "NvInfer.h"
|
||||
|
||||
#include "activation_layer.h"
|
||||
|
||||
nvinfer1::ILayer* convolutionalLayer(
|
||||
int layerIdx,
|
||||
std::map<std::string, std::string>& block,
|
||||
std::vector<float>& weights,
|
||||
std::vector<nvinfer1::Weights>& trtWeights,
|
||||
int& weightPtr,
|
||||
int& inputChannels,
|
||||
nvinfer1::ITensor* input,
|
||||
nvinfer1::INetworkDefinition* network);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user