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

Method input_node

tensorflow/core/graph/graph.cc:310–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310Status Node::input_node(int idx, Node** n) const {
311 const Edge* e;
312 TF_RETURN_IF_ERROR(input_edge(idx, &e));
313 if (e == nullptr) {
314 *n = nullptr;
315 } else {
316 *n = e->src();
317 }
318 return Status::OK();
319}
320
321Status Node::input_node(int idx, const Node** const_n) const {
322 Node* n;

Callers 15

FunctionalizeLoopFunction · 0.80
TESTFunction · 0.80
PropagateConstIntoIfNodeFunction · 0.80
MaybeRewriteWhileNodeFunction · 0.80
GetLoopInvariantsFunction · 0.80
TESTFunction · 0.80
SearchForAGoodTriggerFunction · 0.80
PropagateShapesFunction · 0.80

Calls 1

srcMethod · 0.45

Tested by 4

TESTFunction · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64