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

Method execute

tfjs-tfdf/src/tfdf_model.ts:116–120  ·  view source on GitHub ↗

* Execute the inference for the input tensors and return activation * values for specified output node names without batching. * * @param inputs The input tensors, when there is single input for the model, * inputs param should be a Tensor. For models with multiple inputs, * i

(inputs: Tensor|Tensor[]|NamedTensorMap, outputs: string|string[])

Source from the content-addressed store, hash-verified

114 * multiple outputs.
115 */
116 execute(inputs: Tensor|Tensor[]|NamedTensorMap, outputs: string|string[]):
117 Tensor|Tensor[] {
118 setAssets(this.assets);
119 return this.graphModel.execute(inputs, outputs);
120 }
121
122 /**
123 * Executes inference for the model for given input tensors in async

Callers

nothing calls this directly

Calls 2

setAssetsFunction · 0.90
executeMethod · 0.65

Tested by

no test coverage detected