get_current_run: Get the context object for a run

View source: R/run.R

get_current_runR Documentation

Get the context object for a run

Description

This function is commonly used to retrieve the authenticated run object inside of a script to be submitted for execution via submit_experiment(). Note that the logging functions (log_* methods, upload_files_to_run(), upload_folder_to_run()) will by default log the specified metrics or files to the run returned from get_current_run().

Usage

get_current_run(allow_offline = TRUE)

Arguments

allow_offline

If TRUE, allow the service context to fall back to offline mode so that the training script can be tested locally without submitting a job with the SDK.

Value

The Run object.


Azure/azureml-sdk-for-r documentation built on Sept. 21, 2022, 5:45 a.m.