19 lines
440 B
C++
19 lines
440 B
C++
/*
|
|
* Created by Marcos Luciano
|
|
* https://www.github.com/marcoslucianops
|
|
*/
|
|
|
|
#ifndef __REG_LAYER_H__
|
|
#define __REG_LAYER_H__
|
|
|
|
#include <map>
|
|
#include <vector>
|
|
|
|
#include "NvInfer.h"
|
|
|
|
nvinfer1::ITensor* regLayer(int layerIdx, std::map<std::string, std::string>& block, std::vector<float>& weights,
|
|
std::vector<nvinfer1::Weights>& trtWeights, int& weightPtr, nvinfer1::ITensor* input,
|
|
nvinfer1::INetworkDefinition* network);
|
|
|
|
#endif
|