Documentation ¶
Index ¶
- type Format
- type RunConfig
- func (rc *RunConfig) AddTelemetryAndMetrics(telemetry *service.TelemetryRecord, metrics []map[int]interface{})
- func (rc *RunConfig) ApplyChangeRecord(configRecord *service.ConfigRecord, onError func(error))
- func (rc *RunConfig) CloneTree() (pathtree.TreeData, error)
- func (rc *RunConfig) MergeResumedConfig(oldConfig pathtree.TreeData) error
- func (rc *RunConfig) Serialize(format Format) ([]byte, error)
- func (rc *RunConfig) Tree() pathtree.TreeData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunConfig ¶
type RunConfig struct {
// contains filtered or unexported fields
}
The configuration of a run.
This is usually used for hyperparameters and some run metadata like the start time and the ML framework used. In a somewhat hacky way, it is also used to store programmatic custom charts for the run and various other things.
The server process builds this up incrementally throughout a run's lifetime.
func (*RunConfig) AddTelemetryAndMetrics ¶
func (rc *RunConfig) AddTelemetryAndMetrics( telemetry *service.TelemetryRecord, metrics []map[int]interface{}, )
Inserts W&B-internal values into the run's configuration.
func (*RunConfig) ApplyChangeRecord ¶
func (rc *RunConfig) ApplyChangeRecord( configRecord *service.ConfigRecord, onError func(error), )
Updates and/or removes values from the configuration tree.
Does a best-effort job to apply all changes. Errors are passed to `onError` and skipped.
func (*RunConfig) MergeResumedConfig ¶
Incorporates the config from a run that's being resumed.
Click to show internal directories.
Click to hide internal directories.