Fix typo in macro

This commit is contained in:
Mihai Maruseac 2020-09-20 16:36:54 -07:00 committed by GitHub
parent 418ef05ff8
commit d2f89833e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ Status LoadMetaGraphIntoSession(const MetaGraphDef& meta_graph_def,
Session* session_p = nullptr;
TF_RETURN_IF_ERROR(NewSession(session_options, &session_p));
session->reset(session_p);
RETURN_IF_ERROR(ValidateSavedTensors(meta_graph_def.graph_def()));
TF_RETURN_IF_ERROR(ValidateSavedTensors(meta_graph_def.graph_def()));
return (*session)->Create(meta_graph_def.graph_def());
}