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

Method checkValid

src/core/graph.cc:354–388  ·  view source on GitHub ↗

tensor's "source" and "target" must be in "ops". tensor has no "source" and no "target" must not exist. "inputs" or "outputs" of operators must be in "tensors" "predecessors" and "successors" of an operator of "ops" must be in "ops".

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

replaceSubGraphMethod · 0.45

Calls 9

sizeMethod · 0.80
getTargetsMethod · 0.80
getSourceMethod · 0.80
getPredecessorsMethod · 0.80
getSuccessorsMethod · 0.80
countMethod · 0.80
getFuidMethod · 0.80
getInputsMethod · 0.45
getOutputsMethod · 0.45

Tested by

no test coverage detected