Template Function torch_tensorrt::ptq::make_int8_calibrator
Defined in File ptq.h
Function Documentation
Warning
doxygenfunction: Unable to resolve function “torch_tensorrt::ptq::make_int8_calibrator” with arguments “(DataLoader, const std::string&, bool)”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [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) ———————————————————————————————————————^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [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) ————————————————————————————————————————————————————-^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [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) ————————————————————————————————————————————————————-^