mindspore.dataset.Dataset.sync_update
- Dataset.sync_update(condition_name, num_batch=None, data=None)[source]
Release a blocking condition and trigger callback with given data.
- Parameters
condition_name (str) – The condition name that is used to toggle sending next row.
num_batch (Union[int, None]) – The number of batches (rows) that are released. When num_batch is None, it will default to the number specified by the sync_wait operation. Default: None.
data (Any) – The data passed to the callback, user defined. Default: None.