Package com.google.genai.types
Class Checkpoint
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.Checkpoint
Describes the machine learning model version checkpoint.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Checkpoint.Builderbuilder()Instantiates a builder for Checkpoint.The ID of the checkpoint.epoch()The epoch of the checkpoint.static CheckpointDeserializes a JSON string to a Checkpoint object.step()The step of the checkpoint.abstract Checkpoint.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
Checkpoint
public Checkpoint()
-
-
Method Details
-
checkpointId
The ID of the checkpoint. -
epoch
The epoch of the checkpoint. -
step
The step of the checkpoint. -
builder
Instantiates a builder for Checkpoint. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a Checkpoint object.
-