MCPcopy Create free account
hub / github.com/alibaba/nann / CopySubgraph

Function CopySubgraph

tensorflow/tensorflow/compiler/tf2xla/functionalize_while.cc:60–108  ·  view source on GitHub ↗

Copies a subgraph from `graph` to `output` by performing a reverse DFS starting at nodes in vector `stack`. `node_map` is a vector indexed by source node ID to dest nodes. Does not traverse into nodes in `node_map`, so by adding nodes to `node_map` before the traversal clients can cut the graph. If a frame is provided (frame != nullptr), then this functions will return an error if the traversal le

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

BuildLoopConditionFunction · 0.85
BuildLoopBodyFunction · 0.85

Calls 15

NodesToStringFunction · 0.85
sortFunction · 0.85
InternalFunction · 0.85
pop_backMethod · 0.80
CopyNodeMethod · 0.80
nameMethod · 0.65
num_node_idsMethod · 0.45
emptyMethod · 0.45
backMethod · 0.45
idMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected