模板函式 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) ————————————————————————————————————————————————————-^