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

Method executeAsync

tfjs-converter/src/executor/graph_executor.ts:420–423  ·  view source on GitHub ↗

* Executes the inference for given input tensors in Async fashion. * @param inputs Tensor map for the model inputs, keyed by the input node * names. * @param outputs output node name from the Tensorflow model, if no outputs * are specified, the default outputs of the model would be used.

(inputs: NamedTensorMap, outputs?: string[])

Source from the content-addressed store, hash-verified

418 * array.
419 */
420 async executeAsync(inputs: NamedTensorMap, outputs?: string[]):
421 Promise<Tensor[]> {
422 return this._executeAsync(inputs, outputs);
423 }
424
425 disposeIntermediateTensors() {
426 if (!this.clonedTensorsMap) {

Callers

nothing calls this directly

Calls 1

_executeAsyncMethod · 0.95

Tested by

no test coverage detected