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

Function IsIdentity

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

Source from the content-addressed store, hash-verified

876inline bool IsConstant(const Node* node) { return node->IsConstant(); }
877inline bool IsVariable(const Node* node) { return node->IsVariable(); }
878inline bool IsIdentity(const Node* node) { return node->IsIdentity(); }
879
880// Returns true iff 'n' is a control flow node.
881inline bool IsControlFlow(const Node* n) { return n->IsControlFlow(); }

Callers 3

IsHostMemoryPreservingFunction · 0.70
FunctionalizeLoopFunction · 0.50
RemoveRedundantSwitchMethod · 0.50

Calls 1

IsIdentityMethod · 0.80

Tested by

no test coverage detected