tf.train.FeatureList | TensorFlow v2.16.1 (original) (raw)
tf.train.FeatureList
Stay organized with collections Save and categorize content based on your preferences.
Mainly used as part of a tf.train.SequenceExample.
View aliases
Compat aliases for migration
SeeMigration guide for more details.
tf.compat.v1.train.FeatureList
Contains a list of tf.train.Features.
The tf.train.SequenceExample proto can be thought of as a proto implementation of the following python type:
# tf.train.Feature
Feature = Union[List[bytes],
List[int64],
List[float]]
# tf.train.FeatureList
FeatureList = List[Feature]
# tf.train.FeatureLists
FeatureLists = Dict[str, FeatureList]
class SequenceExample(typing.NamedTuple):
context: Dict[str, Feature]
feature_lists: FeatureLists
This proto implements the List[Feature]
portion.
Attributes | |
---|---|
feature | repeated Feature feature |
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. Some content is licensed under the numpy license.
Last updated 2024-04-26 UTC.