Description Usage Arguments Value Examples See Also
Represent how to deliver the dataset to a compute target.
1 2 3 4 5 6 | dataset_consumption_config(
name,
dataset,
mode = "direct",
path_on_compute = NULL
)
|
name |
The name of the dataset in the run, which can be different to the registered name. The name will be registered as environment variable and can be used in data plane. |
dataset |
The dataset that will be consumed in the run. |
mode |
Defines how the dataset should be delivered to the compute target. There are three modes: 'direct': consume the dataset as dataset. 'download': download the dataset and consume the dataset as downloaded path. 'mount': mount the dataset and consume the dataset as mount path. |
path_on_compute |
The target path on the compute to make the data available at. The folder structure of the source data will be kept, however, we might add prefixes to this folder structure to avoid collision. |
The DatasetConsumptionConfig
object.
1 2 3 4 | est <- estimator(source_directory = ".",
entry_script = "train.R",
inputs = list(dataset_consumption_config('mydataset', dataset, mode = 'download')),
compute_target = compute_target)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.