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

Method IsSource

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

Node type helpers.

Source from the content-addressed store, hash-verified

141
142 // Node type helpers.
143 bool IsSource() const { return id() == 0; }
144 bool IsSink() const { return id() == 1; }
145 // Anything other than the special Source & Sink nodes.
146 bool IsOp() const { return id() > 1; }

Callers 15

ConvertNodeMethod · 0.80
IsCompilableNodeMethod · 0.80
GraphNodesFunction · 0.80
GraphEdgesFunction · 0.80
GraphNodesFunction · 0.80
GraphEdgesFunction · 0.80
SearchForAGoodTriggerFunction · 0.80
IsRootEnterMethod · 0.80
IsRootExitMethod · 0.80
GetFullFrameFunction · 0.80

Calls

no outgoing calls

Tested by 6

GraphNodesFunction · 0.64
GraphEdgesFunction · 0.64
GraphNodesFunction · 0.64
GraphEdgesFunction · 0.64
CheckTypeFunction · 0.64
TEST_FFunction · 0.64