ParallelModelDatasetClient.SendAsync<TAlgorithmParams> method
Submits a dataset job for the specified model.
public Task<ParallelModelDatasetSendResponseModel<TAlgorithmParams>> SendAsync<TAlgorithmParams>(
Guid modelId, ParallelModelDatasetSendRequestModel<TAlgorithmParams> request,
string computeSize, string outputEncryptionKey, TimeSpan? timeout = default,
CancellationToken cancellationToken = default)
where TAlgorithmParams : class
| parameter | description |
|---|---|
| TAlgorithmParams | The type of the dataset algorithm parameters. |
| modelId | The model identifier. |
| request | The job submission request containing the input and output configuration. |
| computeSize | The compute size identifier sent with the request. |
| outputEncryptionKey | The Base64 encryption key for the output data or artifact. |
| timeout | An optional timeout for the API request. |
| cancellationToken | A token used to cancel the asynchronous operation. |
Return Value
A task that returns the job submission response.
Exceptions
| exception | condition |
|---|---|
| ParallelModelConfigurationException | A required identifier, compute size or supplied encryption key is invalid. |
| ArgumentNullException | The request is null. |