tfds.core.Version

Dataset version MAJOR.MINOR.PATCH.

version string. Eg: "1.2.3".
experiments dict of experiments. See Experiment.
tfds_version_to_prepare string, defaults to None. If set, indicates that current version of TFDS cannot be used to download_and_prepare the dataset, but that TFDS at version {tfds_version_to_prepare} should be used instead.

tuple

Methods

implements

View source

Returns True if version implements given experiment.

is_valid

View source

Returns True if the version can be parsed.

match

View source

Returns True if other_version matches.

Args
other_version string, of the form "x[.y[.x]]" where {x,y,z} can be a number or a wildcard.

__eq__

View source

Return self==value.

__ge__

View source

Return self>=value.

__gt__

View source

Return self>value.

__le__

View source

Return self<=value.

__lt__

View source

Return self<value.

__ne__

View source

Return self!=value.