Dela via


NlpLearningRateScheduler Struct

Definition

Enum of learning rate schedulers that aligns with those supported by HF.

public readonly struct NlpLearningRateScheduler : IEquatable<Azure.ResourceManager.MachineLearning.Models.NlpLearningRateScheduler>
type NlpLearningRateScheduler = struct
Public Structure NlpLearningRateScheduler
Implements IEquatable(Of NlpLearningRateScheduler)
Inheritance
NlpLearningRateScheduler
Implements

Constructors

NlpLearningRateScheduler(String)

Initializes a new instance of NlpLearningRateScheduler.

Properties

Constant

Constant learning rate.

ConstantWithWarmup

Linear warmup followed by constant value.

Cosine

Linear warmup then cosine decay.

CosineWithRestarts

Linear warmup, cosine decay, then restart to initial LR.

Linear

Linear warmup and decay.

None

No learning rate schedule.

Polynomial

Increase linearly then polynomially decay.

Methods

Equals(NlpLearningRateScheduler)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(NlpLearningRateScheduler, NlpLearningRateScheduler)

Determines if two NlpLearningRateScheduler values are the same.

Implicit(String to NlpLearningRateScheduler)

Converts a string to a NlpLearningRateScheduler.

Inequality(NlpLearningRateScheduler, NlpLearningRateScheduler)

Determines if two NlpLearningRateScheduler values are not the same.

Applies to