@@ -186,7 +186,6 @@ def __init__(
186186 features : feature_lib .FeatureConnector | None = None ,
187187 supervised_keys : SupervisedKeysType | None = None ,
188188 disable_shuffling : bool = False ,
189- nondeterministic_order : bool = False ,
190189 homepage : str | None = None ,
191190 citation : str | None = None ,
192191 metadata : Metadata | None = None ,
@@ -229,11 +228,7 @@ def __init__(
229228
230229 Note that selecting features in nested `tfds.features.FeaturesDict`
231230 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.
237232 homepage: `str`, optional, the homepage for this dataset.
238233 citation: `str`, optional, the citation to use for this dataset.
239234 metadata: `tfds.core.Metadata`, additonal object which will be
@@ -273,7 +268,6 @@ def __init__(
273268 version = str (self ._identity .version ),
274269 release_notes = self ._identity .release_notes ,
275270 disable_shuffling = disable_shuffling ,
276- nondeterministic_order = nondeterministic_order ,
277271 config_name = self ._identity .config_name ,
278272 config_description = self ._identity .config_description ,
279273 config_tags = self ._identity .config_tags ,
@@ -348,7 +342,6 @@ def from_proto(
348342 features = features ,
349343 supervised_keys = supervised_keys ,
350344 disable_shuffling = proto .disable_shuffling ,
351- nondeterministic_order = proto .nondeterministic_order ,
352345 citation = proto .citation ,
353346 license = proto .redistribution_info .license ,
354347 split_dict = splits_lib .SplitDict .from_proto (
@@ -407,13 +400,6 @@ def release_notes(self) -> dict[str, str] | None:
407400 def disable_shuffling (self ) -> bool :
408401 return self .as_proto .disable_shuffling
409402
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-
417403 @property
418404 def homepage (self ) -> str :
419405 urls = self .as_proto .location .urls
@@ -937,7 +923,6 @@ def __repr__(self):
937923 ("features" , _indent (repr (self .features ))),
938924 ("supervised_keys" , self .supervised_keys ),
939925 ("disable_shuffling" , self .disable_shuffling ),
940- ("nondeterministic_order" , self .nondeterministic_order ),
941926 ("splits" , splits ),
942927 ("citation" , _indent (f'"""{ self .citation } """' )),
943928 # Proto add a \n that we strip.
@@ -955,7 +940,6 @@ def __getstate__(self):
955940 "features" : self .features ,
956941 "supervised_keys" : self .supervised_keys ,
957942 "disable_shuffling" : self .disable_shuffling ,
958- "nondeterministic_order" : self .nondeterministic_order ,
959943 "homepage" : self .homepage ,
960944 "citation" : self .citation ,
961945 "metadata" : self .metadata ,
@@ -972,7 +956,6 @@ def __setstate__(self, state):
972956 features = state ["features" ],
973957 supervised_keys = state ["supervised_keys" ],
974958 disable_shuffling = state ["disable_shuffling" ],
975- nondeterministic_order = state ["nondeterministic_order" ],
976959 homepage = state ["homepage" ],
977960 citation = state ["citation" ],
978961 metadata = state ["metadata" ],
0 commit comments