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

Method CreateLoop

tensorflow/cc/ops/while_loop_test.cc:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 void CreateLoop(const ops::CondGraphBuilderFn& cond,
39 const ops::BodyGraphBuilderFn& body,
40 error::Code error_code = error::OK,
41 const string& error_msg = "") {
42 Status s =
43 ops::BuildWhileLoop(scope_, inputs_, cond, body, kFrameName, &outputs_);
44 EXPECT_EQ(s.code(), error_code);
45 EXPECT_EQ(s.error_message(), error_msg);
46 }
47
48 template <typename T>
49 void Run(const std::vector<Input::Initializer>& input_values,

Callers

nothing calls this directly

Calls 2

BuildWhileLoopFunction · 0.85
codeMethod · 0.45

Tested by

no test coverage detected