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