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

Method inputs

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

Source from the content-addressed store, hash-verified

78 }
79
80 get inputs(): TensorInfo[] {
81 return this._inputs.map(node => {
82 return {
83 name: node.name,
84 shape: node.attrParams['shape'] ?
85 node.attrParams['shape'].value as number[] :
86 undefined,
87 dtype: node.attrParams['dtype'] ?
88 node.attrParams['dtype'].value as DataType :
89 undefined
90 };
91 });
92 }
93
94 get outputs(): TensorInfo[] {
95 return this._outputs.map(node => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected