* Executes inference for the model for given input tensors in async * fashion, use this method when your model contains control flow ops. * @param inputs tensor, tensor array or tensor map of the inputs for the * model, keyed by the input node names. * @param outputs output node name fro
(
inputs: Tensor|Tensor[]|NamedTensorMap,
outputs?: string|string[])
| 134 | * return a tensor map. |
| 135 | */ |
| 136 | executeAsync( |
| 137 | inputs: Tensor|Tensor[]|NamedTensorMap, |
| 138 | outputs?: string|string[]): Promise<Tensor|Tensor[]> { |
| 139 | setAssets(this.assets); |
| 140 | return this.graphModel.executeAsync(inputs, outputs); |
| 141 | } |
| 142 | |
| 143 | dispose() { |
| 144 | this.graphModel.dispose(); |
no test coverage detected