Skip to main content

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
parameterdescription
TAlgorithmParamsThe type of the dataset algorithm parameters.
modelIdThe model identifier.
requestThe job submission request containing the input and output configuration.
computeSizeThe compute size identifier sent with the request.
outputEncryptionKeyThe Base64 encryption key for the output data or artifact.
timeoutAn optional timeout for the API request.
cancellationTokenA token used to cancel the asynchronous operation.

Return Value​

A task that returns the job submission response.

Exceptions​

exceptioncondition
ParallelModelConfigurationExceptionA required identifier, compute size or supplied encryption key is invalid.
ArgumentNullExceptionThe request is null.

See Also​