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