Class Checkpoint
Describes the machine learning model version checkpoint.
public record Checkpoint : IEquatable<Checkpoint>
- Inheritance
-
Checkpoint
- Implements
- Inherited Members
Properties
CheckpointId
The ID of the checkpoint.
[JsonPropertyName("checkpointId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? CheckpointId { get; set; }
Property Value
Epoch
The epoch of the checkpoint.
[JsonPropertyName("epoch")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonConverter(typeof(StringToNullableLongConverter))]
public long? Epoch { get; set; }
Property Value
- long?
Step
The step of the checkpoint.
[JsonPropertyName("step")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonConverter(typeof(StringToNullableLongConverter))]
public long? Step { get; set; }
Property Value
- long?
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a Checkpoint object.
public static Checkpoint? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- Checkpoint
The deserialized Checkpoint object, or null if deserialization fails.