Skip to content

静态图中没有fake_quant_dequant节点 #5989

@houjingsong

Description

@houjingsong

问题确认 Search before asking

  • 我已经搜索过问题,但是没有找到解答。I have searched the question and found no related answer.

请提出你的问题 Please ask your question

使用paddle对模型进行在线量化,然后使用export_model.py将动态图转为静态图。因为量化的时候把所有的卷积算子都量化了,但是在静态图中有的卷积算子有fake_quant_dequant节点,而有的没有该节点,如下图所示
image
请问这种情况是什么原因呢,如果想给所有静态图中所有的卷积算子都加上fake节点,该如何处理呢?

Metadata

Metadata

Labels

compressionModel compression includes quantization, pruning and distillation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions