forked from mindspore-Ecosystem/mindspore
!361 Add TDT transfer data limit description
Merge pull request !361 from pengyanjun/add_tdt_transfer_data_limit_doc
This commit is contained in:
commit
5519af5568
|
@ -548,12 +548,16 @@ class Dataset:
|
||||||
|
|
||||||
def device_que(self, prefetch_size=None):
|
def device_que(self, prefetch_size=None):
|
||||||
"""
|
"""
|
||||||
Returns a transferredDataset that transfer data through tdt.
|
Returns a transferredDataset that transfer data through device.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
prefetch_size (int, optional): prefetch number of records ahead of the
|
prefetch_size (int, optional): prefetch number of records ahead of the
|
||||||
user's request (default=None).
|
user's request (default=None).
|
||||||
|
|
||||||
|
Note:
|
||||||
|
If device is Ascend, features of data will be transferred one by one. The limitation
|
||||||
|
of data transferation per time is 256M.
|
||||||
|
|
||||||
Return:
|
Return:
|
||||||
TransferDataset, dataset for transferring.
|
TransferDataset, dataset for transferring.
|
||||||
"""
|
"""
|
||||||
|
@ -566,6 +570,10 @@ class Dataset:
|
||||||
Args:
|
Args:
|
||||||
num_batch (int, optional): limit the number of batch to be sent to device (default=None).
|
num_batch (int, optional): limit the number of batch to be sent to device (default=None).
|
||||||
|
|
||||||
|
Note:
|
||||||
|
If device is Ascend, features of data will be transferred one by one. The limitation
|
||||||
|
of data transferation per time is 256M.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
TransferDataset, dataset for transferring.
|
TransferDataset, dataset for transferring.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue