MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / StepAndReset

Method StepAndReset

tensorflow/core/lib/db/sqlite.cc:221–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221Status SqliteStatement::StepAndReset() {
222 bool is_done;
223 Status s = Step(&is_done);
224 if (TF_PREDICT_FALSE(s.ok() && !is_done)) {
225 s = errors::Internal("Unexpected row: ", sql());
226 }
227 Reset();
228 return s;
229}
230
231void SqliteStatement::StepAndResetOrDie() { TF_CHECK_OK(StepAndReset()); }
232

Callers 15

TEST_FFunction · 0.80
RunFunction · 0.80
SetupTensorboardSqliteDbFunction · 0.80
SetDescriptionFunction · 0.80
LOCKS_EXCLUDEDMethod · 0.80
SaveNodeInputsMethod · 0.80
SaveNodesMethod · 0.80
SaveGraphMethod · 0.80
LOCKS_EXCLUDEDMethod · 0.80
LOCKS_EXCLUDEDMethod · 0.80
UpdateMethod · 0.80

Calls 4

StepClass · 0.85
InternalFunction · 0.85
ResetFunction · 0.50
okMethod · 0.45

Tested by 1

TEST_FFunction · 0.64