get_current_run {azuremlsdk}R 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.


[Package azuremlsdk version 1.10.0 Index]