from tensorflow.contrib import quantize as contrib_quantize
这句我应该怎么改大佬们帮帮!
删除了就调用不了了,你还得装上特别地,你需要安装 tf 1.x,因为2.x不支持contrib