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

Method mapOutputs

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

Source from the content-addressed store, hash-verified

753 }
754
755 private mapOutputs(outputs: string[]) {
756 return outputs.map(name => {
757 const tensor = this._signature ?.outputs ?.[name];
758 if (tensor != null) {
759 return tensor.name;
760 }
761 return name;
762 }, {});
763 }
764
765 private checkOutputs(outputs: string[]): void {
766 outputs.forEach(name => {

Callers 2

executeMethod · 0.95
_executeAsyncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected