TFDS now supports the Croissant 🥐 format! Read the documentation to know more.

tfds.features.Documentation

View source on GitHub

Feature documentation such as a textual description of what this feature means.

tfds.features.Documentation(
 desc: Optional[str] = None, value_range: Optional[str] = None
)

Attributes

desc optional textual description of this feature.
value_range optional textual description of the value range of this feature. For example, the feature 'age' could have value range 0 to 150.

Methods

from_proto

View source

@classmethod
from_proto(
 feature: feature_pb2.Feature
) -> Documentation

__eq__

__eq__(
 other
)

Class Variables

desc None
value_range None

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.