模板函数 torch_tensorrt::ptq::make_int8_cache_calibrator¶
定义于 文件 ptq.h
函数文档¶
警告
doxygenfunction: 无法解析带有参数“(const std::string&)”的函数“torch_tensorrt::ptq::make_int8_cache_calibrator”。候选函数无法解析。解析错误是解析函数声明时出错。如果函数没有返回类型:声明符或参数限定符出错 无效的 C++ 声明:参数限定符中需要“(”。[错误在 96] template<typename Algorithm = nvinfer1::IInt8EntropyCalibrator2> TORCH_TENSORRT_PTQ_DEPRECATION Int8CacheCalibrator< Algorithm > make_int8_cache_calibrator (const std::string &cache_file_path) ————————————————————————————————^ 如果函数有返回类型:声明符或参数限定符出错 如果是成员指针声明符:无效的 C++ 声明:成员指针(函数)中需要“::”。[错误在 129] template<typename Algorithm = nvinfer1::IInt8EntropyCalibrator2> TORCH_TENSORRT_PTQ_DEPRECATION Int8CacheCalibrator< Algorithm > make_int8_cache_calibrator (const std::string &cache_file_path) ———————————————————————————————————————————^ 如果是声明符-id:无效的 C++ 声明:参数限定符中需要“(”。[错误在 129] template<typename Algorithm = nvinfer1::IInt8EntropyCalibrator2> TORCH_TENSORRT_PTQ_DEPRECATION Int8CacheCalibrator< Algorithm > make_int8_cache_calibrator (const std::string &cache_file_path) ———————————————————————————————————————————^