Fix typo in macro

This commit is contained in:
Mihai Maruseac 2020-09-20 16:35:35 -07:00 committed by GitHub
parent 43903c16d0
commit 67e53f87ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,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());
}