!689 Check num_shards and shard_id in TextFileDataset

Merge pull request !689 from yanghaitao/yht_tffileddataset_shard
pull/689/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 86075dc9cb

@ -906,6 +906,8 @@ def check_textfiledataset(method):
check_param_type(nreq_param_int, param_dict, int)
check_sampler_shuffle_shard_options(param_dict)
return method(*args, **kwargs)
return new_method

Loading…
Cancel
Save