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

Function IsTransferNode

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

True for Nodes that mediate the transfer of values between processes.

Source from the content-addressed store, hash-verified

869
870// True for Nodes that mediate the transfer of values between processes.
871inline bool IsTransferNode(const Node* n) {
872 return IsSend(n) || IsRecv(n) ||
873 IsFuseRecv(n) || IsRunGraph(n);
874}
875
876inline bool IsConstant(const Node* node) { return node->IsConstant(); }
877inline bool IsVariable(const Node* node) { return node->IsVariable(); }

Callers 1

InitializeMethod · 0.85

Calls 4

IsRunGraphFunction · 0.85
IsSendFunction · 0.70
IsRecvFunction · 0.70
IsFuseRecvFunction · 0.70

Tested by

no test coverage detected