tfds.core.Version
Stay organized with collections
Save and categorize content based on your preferences.
Dataset version MAJOR.MINOR.PATCH.
tfds.core.Version(
version: Union[Version, str],
experiments=None,
tfds_version_to_prepare=None
)
Args |
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.
|
Methods
implements
View source
implements(
experiment
)
Returns True if version implements given experiment.
is_valid
View source
@classmethod
is_valid(
version: str
) -> bool
Returns True if the version can be parsed.
match
View source
match(
other_version
) -> bool
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
__eq__(
other
)
Return self==value.
__ge__
View source
__ge__(
other
)
Return self>=value.
__gt__
View source
__gt__(
other
)
Return self>value.
__le__
View source
__le__(
other
)
Return self<=value.
__lt__
View source
__lt__(
other
)
Return self<value.
__ne__
View source
__ne__(
other
)
Return self!=value.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-04-26 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[]]