#pragma once #include #include "struct.h" #include "NvInfer.h" using namespace nvinfer1; namespace fastrt { class Module { public: Module() = default; virtual ~Module() = default; virtual ILayer* topology(INetworkDefinition *network, std::map& weightMap, ITensor& input) = 0; }; }