wandb_config_get Interface

public interface wandb_config_get

Module Procedures

private subroutine wandb_config_get_integer(key, value, default_value)

Read an integer hyperparameter from the current wandb config.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: key

Config key.

integer, intent(out) :: value

Receives the value (or default_value if absent).

integer, intent(in), optional :: default_value

Fallback when the key is not present.

private subroutine wandb_config_get_real64(key, value, default_value)

Read a double-precision hyperparameter from the current wandb config.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: key
real(kind=c_double), intent(out) :: value
real(kind=c_double), intent(in), optional :: default_value

private subroutine wandb_config_get_real32(key, value, default_value)

Read a single-precision hyperparameter from the current wandb config.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: key
real(kind=c_float), intent(out) :: value
real(kind=c_float), intent(in), optional :: default_value

private subroutine wandb_config_get_string(key, value, default_value)

Read a string hyperparameter from the current wandb config. The output string value is space-padded to its declared length.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: key
character(len=*), intent(inout) :: value
character(len=*), intent(in), optional :: default_value