You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var.op is usually set to the operator that generates this variable in the prune method in framework.py.
If we firstly prune the program desc to save the original model, and then use float16_transpiler to modify the program desc again. var.op in some cases will be out of date.
So we need to force the prune method to find the latest info about which operator generates the variable in inquiry so that we can find the correct operator as the prune target.
The text was updated successfully, but these errors were encountered:
var.op
is usually set to the operator that generates this variable in the prune method in framework.py.If we firstly prune the program desc to save the original model, and then use float16_transpiler to modify the program desc again.
var.op
in some cases will be out of date.So we need to force the prune method to find the latest info about which operator generates the variable in inquiry so that we can find the correct operator as the prune target.
The text was updated successfully, but these errors were encountered: