MCPcopy Create free account
hub / github.com/InfiniTensor/InfiniTensor / replaceSubGraph

Method replaceSubGraph

src/core/graph_match.cc:300–375  ·  view source on GitHub ↗

replace all sub graphs which matched subA with subB in g

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TESTFunction · 0.80

Calls 12

countMethod · 0.80
getTargetsMethod · 0.80
hasContainedMethod · 0.80
deleteConnectionMethod · 0.80
sizeMethod · 0.80
replaceConnectionMethod · 0.80
getOpsMethod · 0.80
removeTensorMethod · 0.80
removeOperatorMethod · 0.80
getInputsMethod · 0.45
getOutputsMethod · 0.45
checkValidMethod · 0.45

Tested by 1

TESTFunction · 0.64