Table of Contents

Class RetryFailedTrialCallback

Namespace
OptunaSharp.Storages
Assembly
OptunaSharp.dll

Deprecated alias of RetryHeartbeatStaleTrialCallback.

[Obsolete("Deprecated in v4.9.0. This feature will be removed in v6.0.0. Use RetryHeartbeatStaleTrialCallback instead.")]
public class RetryFailedTrialCallback : RetryHeartbeatStaleTrialCallback
Inheritance
RetryFailedTrialCallback
Inherited Members

Constructors

RetryFailedTrialCallback(int?, bool)

Creates a policy for re-enqueuing heartbeat-stale trials.

public RetryFailedTrialCallback(int? maxRetry = null, bool inheritIntermediateValues = false)

Parameters

maxRetry int?

Maximum retries in the retry lineage, or null for no retry limit.

inheritIntermediateValues bool

Whether the queued retry inherits intermediate values from the failed trial.