/* * Created by Marcos Luciano * https://www.github.com/marcoslucianops */ #ifndef __DECONVOLUTIONAL_LAYER_H__ #define __DECONVOLUTIONAL_LAYER_H__ #include #include #include "NvInfer.h" #include "activation_layer.h" nvinfer1::ITensor* deconvolutionalLayer(int layerIdx, std::map& block, std::vector& weights, std::vector& trtWeights, int& weightPtr, int& inputChannels, nvinfer1::ITensor* input, nvinfer1::INetworkDefinition* network, std::string layerName = ""); #endif