Method ExecuteAndDownloadOutputsAsync
ExecuteAndDownloadOutputsAsync(IWorker, Dictionary<string, Tensor>, List<string>)
Execute model and returns a CPU copy of all outputs. This is a non blocking call.
Declaration
public static Task<bool[]> ExecuteAndDownloadOutputsAsync(this IWorker worker, Dictionary<string, Tensor> inputs, List<string> outputs)
Parameters
Type | Name | Description |
---|---|---|
IWorker | worker | |
Dictionary<string, Tensor> | inputs | |
List<string> | outputs |
Returns
Type | Description |
---|---|
Task<bool[]> |