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

Method set_while_ctx

tensorflow/core/graph/graph.h:301–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299
300 WhileContext* while_ctx() const { return while_ctx_; }
301 void set_while_ctx(WhileContext* while_ctx) {
302 DCHECK(IsExit());
303 DCHECK(while_ctx_ == nullptr);
304 while_ctx_ = while_ctx;
305 }
306
307 private:
308 friend class Graph;

Callers 1

BuildWhileLoopFunction · 0.80

Calls 1

IsExitFunction · 0.70

Tested by

no test coverage detected