forked from mindspore-Ecosystem/mindspore
Check TfFileDataset num_shards and shard_id
This commit is contained in:
parent
7c7d95acf9
commit
60f2663326
|
@ -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…
Reference in New Issue