MCPcopy Create free account
hub / github.com/tensorflow/tfjs / outputs

Method outputs

tfjs-converter/src/executor/graph_executor.ts:94–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92 }
93
94 get outputs(): TensorInfo[] {
95 return this._outputs.map(node => {
96 return {
97 name: node.name,
98 shape: node.attrParams['shape'] ?
99 node.attrParams['shape'].value as number[] :
100 undefined,
101 dtype: node.attrParams['dtype'] ?
102 node.attrParams['dtype'].value as DataType :
103 undefined
104 };
105 });
106 }
107
108 get inputNodes(): string[] {
109 return this._inputs.map(node => node.signatureKey || node.name);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected