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().
get_current_run(allow_offline = TRUE)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.
The Run object.