快捷方式

模板函数 torch_tensorrt::ptq::make_int8_calibrator

函数文档

警告

doxygenfunction: 无法解析带有参数“(DataLoader, const std::string&, bool)”的函数“torch_tensorrt::ptq::make_int8_calibrator”。候选函数无法解析。解析错误是解析函数声明时出错。如果函数没有返回类型:声明符或参数限定符错误 C++ 声明无效:参数限定符中应为“(”。[错误发生在 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++ 声明无效:指向成员(函数)中应为“::”。[错误发生在 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++ 声明无效:参数限定符中应为“(”。[错误发生在 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) ————————————————————————————————————————————————————-^

文档

访问全面的 PyTorch 开发者文档

查看文档

教程

为初学者和高级开发者提供深入的教程

查看教程

资源

查找开发资源并让您的问题得到解答

查看资源