Tinkex.Types.Checkpoint (Tinkex v0.1.17)

View Source

Checkpoint metadata.

Represents a saved model checkpoint with its metadata.

Summary

Functions

Convert a map (from JSON) to a Checkpoint struct.

Types

t()

@type t() :: %Tinkex.Types.Checkpoint{
  checkpoint_id: String.t(),
  checkpoint_type: String.t(),
  public: boolean(),
  size_bytes: integer() | nil,
  time: String.t(),
  tinker_path: String.t(),
  training_run_id: String.t() | nil
}

Functions

from_map(map)

@spec from_map(map()) :: t()

Convert a map (from JSON) to a Checkpoint struct.