Skip to content

Commit 95fab50

Browse files
author
Larry O'Brien
committed
Fixed 'in this article' and style changes
1 parent 39ed9d3 commit 95fab50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

articles/machine-learning/how-to-move-data-in-and-out-of-pipelines.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ This article will show you how to:
2525
- Split `Dataset` data into subsets, such as training and validation subsets
2626
- Create a `PipelineData` object to transfer data to the next pipeline step
2727
- Use `PipelineData` objects as input to pipeline steps
28+
- Create a new `Dataset` object from `PipelineData` you wish to persist
2829

2930
## Prerequisites
3031

@@ -69,7 +70,7 @@ For more options on creating datasets with different options and from different
6970

7071
### Pass a dataset to your script
7172

72-
To pass the dataset's path to your script, use the `Dataset` object's `as_named_input(str)` method. You can either pass the resulting `DatasetConsumptionConfig` object to your script as an argument or, by using the `inputs` argument to your pipeline script, you can retrieve the dataset using `Run.get_context().input_datasets[str]`.
73+
To pass the dataset's path to your script, use the `Dataset` object's `as_named_input()` method. You can either pass the resulting `DatasetConsumptionConfig` object to your script as an argument or, by using the `inputs` argument to your pipeline script, you can retrieve the dataset using `Run.get_context().input_datasets[]`.
7374

7475
Once you've created a named input, you can choose its access mode: `as_mount()` or `as_download()`. If your script processes all the files in your dataset and the disk on your compute resource is large enough for the dataset, the download access mode is the better choice. The download access mode will avoid the overhead of streaming the data at runtime. If your script accesses a subset of the dataset or it's too large for your compute, use the mount access mode. For more information, read [Mount vs. Download](https://docs.microsoft.com/azure/machine-learning/how-to-train-with-datasets#mount-vs-download)
7576

0 commit comments

Comments
 (0)