huilin
huilin
动态图离线量化教程 https://github.com/PaddlePaddle/PaddleSlim/blob/develop/docs/zh_cn/quick_start/dygraph/dygraph_quant_post_tutorial.md 中的代码似乎是静态图代码吧 paddle.enable_static() place = paddle.CPUPlace() exe = paddle.static.Executor(place) paddleslim.quant.quant_post_static( executor=exe, model_dir='./', model_filename='fp32_inference_model.pdmodel', params_filename='fp32_inference_model.pdiparams', quantize_model_path='./quant_post_static_model', sample_generator=paddle.dataset.cifar.test10(), batch_nums=10)
 unique_endpoints {'job-12de6b177ca9e83312f6df99861d83a9-trainer-0.job-12de6b177ca9e83312f6df99861d83a9:12345'} 任务链接:https://aistudio.baidu.com/aistudio/projectdetail/3684304?contributionType=1
请问会公开技术方案吗