快捷方式

模板函数 torch_tensorrt::ptq::make_int8_cache_calibrator

函数文档

警告

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) ———————————————————————————————————————————^

文档

查阅 PyTorch 的全面开发者文档

查看文档

教程

获取面向初学者和高级开发者的深度教程

查看教程

资源

查找开发资源并获得问题解答

查看资源