模板函数 torch_tensorrt::ptq::make_int8_calibrator¶
定义于 文件 ptq.h
函数文档¶
警告
doxygenfunction: 无法解析函数“torch_tensorrt::ptq::make_int8_calibrator”,参数为“(DataLoader, const std::string&, bool)”。候选函数无法被解析。解析错误为 函数声明解析错误。如果函数没有返回类型:声明符或参数-限定符错误 无效的C++声明:在参数-限定符中预期“(”。 [error at 117] template<typename Algorithm = nvinfer1::IInt8EntropyCalibrator2, typename DataLoader> TORCH_TENSORRT_PTQ_DEPRECATION Int8Calibrator< Algorithm, DataLoader > make_int8_calibrator (DataLoader dataloader, const std::string &cache_file_path, bool use_cache) ———————————————————————————————————————^ 如果函数有返回类型:声明符或参数-限定符错误 如果是指向成员的声明符:无效的C++声明:在指向成员(函数)中预期“::”。 [error at 157] template<typename Algorithm = nvinfer1::IInt8EntropyCalibrator2, typename DataLoader> TORCH_TENSORRT_PTQ_DEPRECATION Int8Calibrator< Algorithm, DataLoader > make_int8_calibrator (DataLoader dataloader, const std::string &cache_file_path, bool use_cache) ————————————————————————————————————————————————————-^ 如果是声明符-id:无效的C++声明:在参数-限定符中预期“(”。 [error at 157] template<typename Algorithm = nvinfer1::IInt8EntropyCalibrator2, typename DataLoader> TORCH_TENSORRT_PTQ_DEPRECATION Int8Calibrator< Algorithm, DataLoader > make_int8_calibrator (DataLoader dataloader, const std::string &cache_file_path, bool use_cache) ————————————————————————————————————————————————————-^