MCPcopy Index your code
hub / github.com/tensorflow/tfjs / checkOutputs

Method checkOutputs

tfjs-converter/src/executor/graph_executor.ts:765–772  ·  view source on GitHub ↗
(outputs: string[])

Source from the content-addressed store, hash-verified

763 }
764
765 private checkOutputs(outputs: string[]): void {
766 outputs.forEach(name => {
767 const [normalizedName] = parseNodeName(name);
768 if (!this.graph.nodes[normalizedName]) {
769 throw new Error(`The output '${name}' is not found in the graph`);
770 }
771 });
772 }
773}

Callers 2

executeMethod · 0.95
_executeAsyncMethod · 0.95

Calls 1

parseNodeNameFunction · 0.90

Tested by

no test coverage detected