R/wandb_agent.R

Defines functions wandb_agent

Documented in wandb_agent

#' wandb_agent
#'
#' Will run a function or program with configuration parameters specified by server
#'
#' @param sweep_id (dict) Sweep ID generated by CLI or sweep API
#' @param func (func, optional) A function to call instead of the "program" specified in the config.
#' @param entity (str, optional) W&B Entity
#' @param project (str, optional) W&B Project
#' @param count (int, optional) the number of trials to run.
#'
#' @return
#' @export
#'
#' @examples
wandb_agent <- function(sweep_id=NULL,func=NULL,entity=NULL,
                       project= NULL,count= NULL) {
  wandb$agent(sweep_id = sweep_id, `function` = func, entity = entity,
              project = project, count = count)
}
arronlacey/wandbR documentation built on Oct. 9, 2022, 11:43 a.m.