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

Function AddControlNext

tensorflow/core/graph/graph_partition.cc:649–655  ·  view source on GitHub ↗

A next_iteration node for control flow.

Source from the content-addressed store, hash-verified

647
648// A next_iteration node for control flow.
649Node* AddControlNext(NodeBuilder::NodeOut input, const string& device_name,
650 const GraphDefBuilder::Options& bopts) {
651 Node* res_node = ops::UnaryOp("NextIteration", std::move(input), bopts);
652 if (bopts.HaveError()) return nullptr;
653 res_node->set_assigned_device_name(device_name);
654 return res_node;
655}
656
657Node* EmptyConst(const GraphDefBuilder::Options& options) {
658 if (options.HaveError()) return nullptr;

Callers 1

AddControlLoopFunction · 0.85

Calls 3

HaveErrorMethod · 0.80
UnaryOpFunction · 0.70

Tested by

no test coverage detected