@@ -186,7 +186,6 @@ def __init__(
186
186
features : feature_lib .FeatureConnector | None = None ,
187
187
supervised_keys : SupervisedKeysType | None = None ,
188
188
disable_shuffling : bool = False ,
189
- nondeterministic_order : bool = False ,
190
189
homepage : str | None = None ,
191
190
citation : str | None = None ,
192
191
metadata : Metadata | None = None ,
@@ -229,11 +228,7 @@ def __init__(
229
228
230
229
Note that selecting features in nested `tfds.features.FeaturesDict`
231
230
objects is not supported.
232
- disable_shuffling: `bool`, specifies whether to shuffle the examples.
233
- nondeterministic_order: `bool`, if True and the dataset uses beam, it will
234
- use `NoShuffleBeamWriter` which does not assure deterministic
235
- shuffling when writing' examples to disk. This might result in quicker
236
- dataset preparation.
231
+ disable_shuffling: `bool`, specify whether to shuffle the examples.
237
232
homepage: `str`, optional, the homepage for this dataset.
238
233
citation: `str`, optional, the citation to use for this dataset.
239
234
metadata: `tfds.core.Metadata`, additonal object which will be
@@ -273,7 +268,6 @@ def __init__(
273
268
version = str (self ._identity .version ),
274
269
release_notes = self ._identity .release_notes ,
275
270
disable_shuffling = disable_shuffling ,
276
- nondeterministic_order = nondeterministic_order ,
277
271
config_name = self ._identity .config_name ,
278
272
config_description = self ._identity .config_description ,
279
273
config_tags = self ._identity .config_tags ,
@@ -348,7 +342,6 @@ def from_proto(
348
342
features = features ,
349
343
supervised_keys = supervised_keys ,
350
344
disable_shuffling = proto .disable_shuffling ,
351
- nondeterministic_order = proto .nondeterministic_order ,
352
345
citation = proto .citation ,
353
346
license = proto .redistribution_info .license ,
354
347
split_dict = splits_lib .SplitDict .from_proto (
@@ -407,13 +400,6 @@ def release_notes(self) -> dict[str, str] | None:
407
400
def disable_shuffling (self ) -> bool :
408
401
return self .as_proto .disable_shuffling
409
402
410
- @property
411
- def nondeterministic_order (self ) -> bool :
412
- return self ._info_proto .nondeterministic_order
413
-
414
- def set_nondeterministic_order (self , nondeterministic_order : bool ) -> None :
415
- self ._info_proto .nondeterministic_order = nondeterministic_order
416
-
417
403
@property
418
404
def homepage (self ) -> str :
419
405
urls = self .as_proto .location .urls
@@ -937,7 +923,6 @@ def __repr__(self):
937
923
("features" , _indent (repr (self .features ))),
938
924
("supervised_keys" , self .supervised_keys ),
939
925
("disable_shuffling" , self .disable_shuffling ),
940
- ("nondeterministic_order" , self .nondeterministic_order ),
941
926
("splits" , splits ),
942
927
("citation" , _indent (f'"""{ self .citation } """' )),
943
928
# Proto add a \n that we strip.
@@ -955,7 +940,6 @@ def __getstate__(self):
955
940
"features" : self .features ,
956
941
"supervised_keys" : self .supervised_keys ,
957
942
"disable_shuffling" : self .disable_shuffling ,
958
- "nondeterministic_order" : self .nondeterministic_order ,
959
943
"homepage" : self .homepage ,
960
944
"citation" : self .citation ,
961
945
"metadata" : self .metadata ,
@@ -972,7 +956,6 @@ def __setstate__(self, state):
972
956
features = state ["features" ],
973
957
supervised_keys = state ["supervised_keys" ],
974
958
disable_shuffling = state ["disable_shuffling" ],
975
- nondeterministic_order = state ["nondeterministic_order" ],
976
959
homepage = state ["homepage" ],
977
960
citation = state ["citation" ],
978
961
metadata = state ["metadata" ],
0 commit comments