ParallelModelImputeClient.SendAsync<TRequest> method
Submits an imputation job for the specified model.
public Task<ParallelModelImputeSendResponseModel> SendAsync<TRequest>(Guid modelId,
TRequest request, string computeSize, string inputEncryptionKey, string outputEncryptionKey,
TimeSpan? timeout = default, CancellationToken cancellationToken = default)
where TRequest : class, IParallelModelImputeSendRequest
| parameter | description |
|---|---|
| TRequest | The type of the job submission request. |
| modelId | The model identifier. |
| request | The job submission request containing the input and output configuration. |
| computeSize | The compute size identifier sent with the request. |
| inputEncryptionKey | The Base64 encryption key for the input data or artifact. |
| 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. |
See Also
- class ParallelModelImputeSendResponseModel
- interface IParallelModelImputeSendRequest
- class ParallelModelImputeClient
- namespace ParallelModel.Sdk.ML.Impute