RetryStrategy
import type { RetryStrategy } from "https://aws-api.deno.dev/v0.3/services/sagemaker.ts?docs=full";
The retry strategy to use when a training job fails due to an InternalServerError
.
RetryStrategy
is specified as part of the CreateTrainingJob
and CreateHyperParameterTuningJob
requests.
You can add the StoppingCondition
parameter to the request to limit the training time for the complete job.
interface RetryStrategy {
MaximumRetryAttempts: number;
}