TensorFlow量化方法与实现技巧(2)
发布时间
阅读量:
阅读量
Google公司推出的量化训练技术quantization-aware-trainning,其具体实现方式可参见https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/quantize。
相关的学术研究文献
https://arxiv.org/abs/1712.05877
此外,还有一份技术白皮书可供参考
https://arxiv.org/abs/1806.08342
简要归纳如下:
1) 训练过程的实施方式
在完成网络架构的设计与定义后,通过添加以下代码语句,即可开展量化训练过程
tf.contrib.quantize.create_training_graph(input_graph=g,
quant_delay=2000000)
全部评论 (0)
还没有任何评论哟~
