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

Method outputNodeNames

tfjs-node/src/saved_model.ts:255–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253 }
254
255 get outputNodeNames() {
256 if (this.outputNodeNames_ != null) {
257 return this.outputNodeNames_;
258 }
259 this.outputNodeNames_ =
260 Object.keys(this.signature.outputs)
261 .reduce((names: {[key: string]: string}, key: string) => {
262 names[key] = this.signature.outputs[key].name;
263 return names;
264 }, {});
265 return this.outputNodeNames_;
266 }
267
268 /**
269 * Execute the inference for the input tensors.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected