模板函式 torch_tensorrt::ptq::make_int8_cache_calibrator¶
定義於 檔案 ptq.h
函式文件¶
警告
doxygenfunction: 無法解析帶有引數 “(const std::string&)” 的函式 “torch_tensorrt::ptq::make_int8_cache_calibrator”。候選函式無法解析。解析錯誤為 解析函式宣告時出錯。如果函式沒有返回型別:在 declarator 或 parameters-and-qualifiers 中出錯 無效的 C++ 宣告:在 parameters-and-qualifiers 中應有 “(”。[錯誤位置 96] template<typename Algorithm = nvinfer1::IInt8EntropyCalibrator2> TORCH_TENSORRT_PTQ_DEPRECATION Int8CacheCalibrator< Algorithm > make_int8_cache_calibrator (const std::string &cache_file_path) ————————————————————————————————^ 如果函式有返回型別:在 declarator 或 parameters-and-qualifiers 中出錯 如果是指向成員的 declarator:無效的 C++ 宣告:指向成員 (function) 中應有 ‘::’。[錯誤位置 129] template<typename Algorithm = nvinfer1::IInt8EntropyCalibrator2> TORCH_TENSORRT_PTQ_DEPRECATION Int8CacheCalibrator< Algorithm > make_int8_cache_calibrator (const std::string &cache_file_path) ———————————————————————————————————————————^ 如果是 declarator-id:無效的 C++ 宣告:在 parameters-and-qualifiers 中應有 “(”。[錯誤位置 129] template<typename Algorithm = nvinfer1::IInt8EntropyCalibrator2> TORCH_TENSORRT_PTQ_DEPRECATION Int8CacheCalibrator< Algorithm > make_int8_cache_calibrator (const std::string &cache_file_path) ———————————————————————————————————————————^