Fix analysis predictor when loading the persistable RAW type variable. (#15613)

revert-15296-async_double_buffered_py_reader
qingqing01 6 years ago committed by GitHub
parent 6e84eb131f
commit 943d972878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -58,7 +58,8 @@ namespace {
bool IsPersistable(const framework::VarDesc *var) {
if (var->Persistable() &&
var->GetType() != framework::proto::VarType::FEED_MINIBATCH &&
var->GetType() != framework::proto::VarType::FETCH_LIST) {
var->GetType() != framework::proto::VarType::FETCH_LIST &&
var->GetType() != framework::proto::VarType::RAW) {
return true;
}
return false;

Loading…
Cancel
Save