We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e84eb1 commit 943d972Copy full SHA for 943d972
paddle/fluid/inference/api/analysis_predictor.cc
@@ -58,7 +58,8 @@ namespace {
58
bool IsPersistable(const framework::VarDesc *var) {
59
if (var->Persistable() &&
60
var->GetType() != framework::proto::VarType::FEED_MINIBATCH &&
61
- var->GetType() != framework::proto::VarType::FETCH_LIST) {
+ var->GetType() != framework::proto::VarType::FETCH_LIST &&
62
+ var->GetType() != framework::proto::VarType::RAW) {
63
return true;
64
}
65
return false;
0 commit comments