package v0
Type Members
- final class Annotation extends GeneratedMessageV3 with AnnotationOrBuilder
Additional information about the schema or about a feature.
Additional information about the schema or about a feature.
Protobuf type
tensorflow.metadata.v0.Annotation - trait AnnotationOrBuilder extends MessageOrBuilder
- final class BoolDomain extends GeneratedMessageV3 with BoolDomainOrBuilder
Encodes information about the domain of a boolean attribute that encodes its TRUE/FALSE values as strings, or 0=false, 1=true. Note that FeatureType could be either INT or BYTES.
Encodes information about the domain of a boolean attribute that encodes its TRUE/FALSE values as strings, or 0=false, 1=true. Note that FeatureType could be either INT or BYTES.
Protobuf type
tensorflow.metadata.v0.BoolDomain - trait BoolDomainOrBuilder extends MessageOrBuilder
- final class DatasetConstraints extends GeneratedMessageV3 with DatasetConstraintsOrBuilder
Constraints on the entire dataset.
Constraints on the entire dataset.
Protobuf type
tensorflow.metadata.v0.DatasetConstraints - trait DatasetConstraintsOrBuilder extends MessageOrBuilder
- final class DistributionConstraints extends GeneratedMessageV3 with DistributionConstraintsOrBuilder
Models constraints on the distribution of a feature's values. TODO(martinz): replace min_domain_mass with max_off_domain (but slowly).
Models constraints on the distribution of a feature's values. TODO(martinz): replace min_domain_mass with max_off_domain (but slowly).
Protobuf type
tensorflow.metadata.v0.DistributionConstraints - trait DistributionConstraintsOrBuilder extends MessageOrBuilder
- final class Feature extends GeneratedMessageV3 with FeatureOrBuilder
Describes schema-level information about a specific feature. NextID: 33
Describes schema-level information about a specific feature. NextID: 33
Protobuf type
tensorflow.metadata.v0.Feature - final class FeatureComparator extends GeneratedMessageV3 with FeatureComparatorOrBuilder
Protobuf type
tensorflow.metadata.v0.FeatureComparator - trait FeatureComparatorOrBuilder extends MessageOrBuilder
- final class FeatureCoverageConstraints extends GeneratedMessageV3 with FeatureCoverageConstraintsOrBuilder
Encodes vocabulary coverage constraints.
Encodes vocabulary coverage constraints.
Protobuf type
tensorflow.metadata.v0.FeatureCoverageConstraints - trait FeatureCoverageConstraintsOrBuilder extends MessageOrBuilder
- trait FeatureOrBuilder extends MessageOrBuilder
- final class FeaturePresence extends GeneratedMessageV3 with FeaturePresenceOrBuilder
Describes constraints on the presence of the feature in the data.
Describes constraints on the presence of the feature in the data.
Protobuf type
tensorflow.metadata.v0.FeaturePresence - trait FeaturePresenceOrBuilder extends MessageOrBuilder
- final class FeaturePresenceWithinGroup extends GeneratedMessageV3 with FeaturePresenceWithinGroupOrBuilder
Records constraints on the presence of a feature inside a "group" context (e.g., .presence inside a group of features that define a sequence).
Records constraints on the presence of a feature inside a "group" context (e.g., .presence inside a group of features that define a sequence).
Protobuf type
tensorflow.metadata.v0.FeaturePresenceWithinGroup - trait FeaturePresenceWithinGroupOrBuilder extends MessageOrBuilder
- sealed abstract final class FeatureType extends Enum[FeatureType] with ProtocolMessageEnum
Describes the physical representation of a feature. It may be different than the logical representation, which is represented as a Domain.
Describes the physical representation of a feature. It may be different than the logical representation, which is represented as a Domain.
Protobuf enum
tensorflow.metadata.v0.FeatureType - final class FixedShape extends GeneratedMessageV3 with FixedShapeOrBuilder
Specifies a fixed shape for the feature's values. The immediate implication is that each feature has a fixed number of values. Moreover, these values can be parsed in a multi-dimensional tensor using the specified axis sizes. The FixedShape defines a lexicographical ordering of the data. For instance, if there is a FixedShape { dim {size:3} dim {size:2} } then tensor[0][0]=field[0] then tensor[0][1]=field[1] then tensor[1][0]=field[2] then tensor[1][1]=field[3] then tensor[2][0]=field[4] then tensor[2][1]=field[5] The FixedShape message is identical with the TensorFlow TensorShape proto message.Specifies a fixed shape for the feature's values. The immediate implication is that each feature has a fixed number of values. Moreover, these values can be parsed in a multi-dimensional tensor using the specified axis sizes. The FixedShape defines a lexicographical ordering of the data. For instance, if there is a FixedShape { dim {size:3} dim {size:2} } then tensor[0][0]=field[0] then tensor[0][1]=field[1] then tensor[1][0]=field[2] then tensor[1][1]=field[3] then tensor[2][0]=field[4] then tensor[2][1]=field[5] The FixedShape message is identical with the TensorFlow TensorShape proto message.Protobuf type
tensorflow.metadata.v0.FixedShape - trait FixedShapeOrBuilder extends MessageOrBuilder
- final class FloatDomain extends GeneratedMessageV3 with FloatDomainOrBuilder
Encodes information for domains of float values. Note that FeatureType could be either INT or BYTES.
Encodes information for domains of float values. Note that FeatureType could be either INT or BYTES.
Protobuf type
tensorflow.metadata.v0.FloatDomain - trait FloatDomainOrBuilder extends MessageOrBuilder
- final class ImageDomain extends GeneratedMessageV3 with ImageDomainOrBuilder
Image data.
Image data.
Protobuf type
tensorflow.metadata.v0.ImageDomain - trait ImageDomainOrBuilder extends MessageOrBuilder
- final class InfinityNorm extends GeneratedMessageV3 with InfinityNormOrBuilder
Checks that the L-infinity norm is below a certain threshold between the two discrete distributions. Since this is applied to a FeatureNameStatistics, it only considers the top k. L_infty(p,q) = max_i |p_i-q_i|
Checks that the L-infinity norm is below a certain threshold between the two discrete distributions. Since this is applied to a FeatureNameStatistics, it only considers the top k. L_infty(p,q) = max_i |p_i-q_i|
Protobuf type
tensorflow.metadata.v0.InfinityNorm - trait InfinityNormOrBuilder extends MessageOrBuilder
- final class IntDomain extends GeneratedMessageV3 with IntDomainOrBuilder
Encodes information for domains of integer values. Note that FeatureType could be either INT or BYTES.
Encodes information for domains of integer values. Note that FeatureType could be either INT or BYTES.
Protobuf type
tensorflow.metadata.v0.IntDomain - trait IntDomainOrBuilder extends MessageOrBuilder
- final class JensenShannonDivergence extends GeneratedMessageV3 with JensenShannonDivergenceOrBuilder
Checks that the approximate Jensen-Shannon Divergence is below a certain threshold between the two distributions.
Checks that the approximate Jensen-Shannon Divergence is below a certain threshold between the two distributions.
Protobuf type
tensorflow.metadata.v0.JensenShannonDivergence - trait JensenShannonDivergenceOrBuilder extends MessageOrBuilder
- sealed abstract final class LifecycleStage extends Enum[LifecycleStage] with ProtocolMessageEnum
LifecycleStage. Only UNKNOWN_STAGE, BETA, and PRODUCTION features are actually validated. PLANNED, ALPHA, DISABLED, and DEBUG are treated as DEPRECATED.
LifecycleStage. Only UNKNOWN_STAGE, BETA, and PRODUCTION features are actually validated. PLANNED, ALPHA, DISABLED, and DEBUG are treated as DEPRECATED.
Protobuf enum
tensorflow.metadata.v0.LifecycleStage - final class MIDDomain extends GeneratedMessageV3 with MIDDomainOrBuilder
Knowledge graph ID, see: https://www.wikidata.org/wiki/Property:P646
Knowledge graph ID, see: https://www.wikidata.org/wiki/Property:P646
Protobuf type
tensorflow.metadata.v0.MIDDomain - trait MIDDomainOrBuilder extends MessageOrBuilder
- final class NaturalLanguageDomain extends GeneratedMessageV3 with NaturalLanguageDomainOrBuilder
Natural language text. Support for the fields in NaturalLanguageDomain is not ready so please do not use them. TODO(b/174175636): Remove warning once fields in NaturalLanguageDomain are supported.
Natural language text. Support for the fields in NaturalLanguageDomain is not ready so please do not use them. TODO(b/174175636): Remove warning once fields in NaturalLanguageDomain are supported.
Protobuf type
tensorflow.metadata.v0.NaturalLanguageDomain - trait NaturalLanguageDomainOrBuilder extends MessageOrBuilder
- final class NumericValueComparator extends GeneratedMessageV3 with NumericValueComparatorOrBuilder
Checks that the ratio of the current value to the previous value is not below the min_fraction_threshold or above the max_fraction_threshold. That is, previous value * min_fraction_threshold <= current value <= previous value * max_fraction_threshold. To specify that the value cannot change, set both min_fraction_threshold and max_fraction_threshold to 1.0.
Checks that the ratio of the current value to the previous value is not below the min_fraction_threshold or above the max_fraction_threshold. That is, previous value * min_fraction_threshold <= current value <= previous value * max_fraction_threshold. To specify that the value cannot change, set both min_fraction_threshold and max_fraction_threshold to 1.0.
Protobuf type
tensorflow.metadata.v0.NumericValueComparator - trait NumericValueComparatorOrBuilder extends MessageOrBuilder
- final class Path extends GeneratedMessageV3 with PathOrBuilder
A path is a more general substitute for the name of a field or feature that can be used for flat examples as well as structured data. For example, if we had data in a protocol buffer: message Person { int age = 1; optional string gender = 2; repeated Person parent = 3; } Thus, here the path {step:["parent", "age"]} in statistics would refer to the age of a parent, and {step:["parent", "parent", "age"]} would refer to the age of a grandparent. This allows us to distinguish between the statistics of parents' ages and grandparents' ages. In general, repeated messages are to be preferred to linked lists of arbitrary length. For SequenceExample, if we have a feature list "foo", this is represented by {step:["##SEQUENCE##", "foo"]}.A path is a more general substitute for the name of a field or feature that can be used for flat examples as well as structured data. For example, if we had data in a protocol buffer: message Person { int age = 1; optional string gender = 2; repeated Person parent = 3; } Thus, here the path {step:["parent", "age"]} in statistics would refer to the age of a parent, and {step:["parent", "parent", "age"]} would refer to the age of a grandparent. This allows us to distinguish between the statistics of parents' ages and grandparents' ages. In general, repeated messages are to be preferred to linked lists of arbitrary length. For SequenceExample, if we have a feature list "foo", this is represented by {step:["##SEQUENCE##", "foo"]}.Protobuf type
tensorflow.metadata.v0.Path - trait PathOrBuilder extends MessageOrBuilder
- final class PathOuterClass extends AnyRef
- final class Schema extends GeneratedMessageV3 with SchemaOrBuilder
Message to represent schema information. NextID: 14
Message to represent schema information. NextID: 14
Protobuf type
tensorflow.metadata.v0.Schema - trait SchemaOrBuilder extends MessageOrBuilder
- final class SchemaOuterClass extends AnyRef
- final class SequenceValueConstraints extends GeneratedMessageV3 with SequenceValueConstraintsOrBuilder
Encodes constraints on specific values in sequences.
Encodes constraints on specific values in sequences.
Protobuf type
tensorflow.metadata.v0.SequenceValueConstraints - trait SequenceValueConstraintsOrBuilder extends MessageOrBuilder
- final class SparseFeature extends GeneratedMessageV3 with SparseFeatureOrBuilder
A sparse feature represents a sparse tensor that is encoded with a combination of raw features, namely index features and a value feature. Each index feature defines a list of indices in a different dimension.
A sparse feature represents a sparse tensor that is encoded with a combination of raw features, namely index features and a value feature. Each index feature defines a list of indices in a different dimension.
Protobuf type
tensorflow.metadata.v0.SparseFeature - trait SparseFeatureOrBuilder extends MessageOrBuilder
- final class StringDomain extends GeneratedMessageV3 with StringDomainOrBuilder
Encodes information for domains of string values.
Encodes information for domains of string values.
Protobuf type
tensorflow.metadata.v0.StringDomain - trait StringDomainOrBuilder extends MessageOrBuilder
- final class StructDomain extends GeneratedMessageV3 with StructDomainOrBuilder
Domain for a recursive struct. NOTE: If a feature with a StructDomain is deprecated, then all the child features (features and sparse_features of the StructDomain) are also considered to be deprecated. Similarly child features can only be in environments of the parent feature.
Domain for a recursive struct. NOTE: If a feature with a StructDomain is deprecated, then all the child features (features and sparse_features of the StructDomain) are also considered to be deprecated. Similarly child features can only be in environments of the parent feature.
Protobuf type
tensorflow.metadata.v0.StructDomain - trait StructDomainOrBuilder extends MessageOrBuilder
- final class TensorRepresentation extends GeneratedMessageV3 with TensorRepresentationOrBuilder
A TensorRepresentation captures the intent for converting columns in a dataset to TensorFlow Tensors (or more generally, tf.CompositeTensors). Note that one tf.CompositeTensor may consist of data from multiple columns, for example, a N-dimensional tf.SparseTensor may need N + 1 columns to provide the sparse indices and values. Note that the "column name" that a TensorRepresentation needs is a string, not a Path -- it means that the column name identifies a top-level Feature in the schema (i.e. you cannot specify a Feature nested in a STRUCT Feature).
A TensorRepresentation captures the intent for converting columns in a dataset to TensorFlow Tensors (or more generally, tf.CompositeTensors). Note that one tf.CompositeTensor may consist of data from multiple columns, for example, a N-dimensional tf.SparseTensor may need N + 1 columns to provide the sparse indices and values. Note that the "column name" that a TensorRepresentation needs is a string, not a Path -- it means that the column name identifies a top-level Feature in the schema (i.e. you cannot specify a Feature nested in a STRUCT Feature).
Protobuf type
tensorflow.metadata.v0.TensorRepresentation - final class TensorRepresentationGroup extends GeneratedMessageV3 with TensorRepresentationGroupOrBuilder
A TensorRepresentationGroup is a collection of TensorRepresentations with names. These names may serve as identifiers when converting the dataset to a collection of Tensors or tf.CompositeTensors. For example, given the following group: { key: "dense_tensor" tensor_representation { dense_tensor { column_name: "univalent_feature" shape { dim { size: 1 } } default_value { float_value: 0 } } } } { key: "varlen_sparse_tensor" tensor_representation { varlen_sparse_tensor { column_name: "multivalent_feature" } } } Then the schema is expected to have feature "univalent_feature" and "multivalent_feature", and when a batch of data is converted to Tensors using this TensorRepresentationGroup, the result may be the following dict: { "dense_tensor": tf.Tensor(...), "varlen_sparse_tensor": tf.SparseTensor(...), }A TensorRepresentationGroup is a collection of TensorRepresentations with names. These names may serve as identifiers when converting the dataset to a collection of Tensors or tf.CompositeTensors. For example, given the following group: { key: "dense_tensor" tensor_representation { dense_tensor { column_name: "univalent_feature" shape { dim { size: 1 } } default_value { float_value: 0 } } } } { key: "varlen_sparse_tensor" tensor_representation { varlen_sparse_tensor { column_name: "multivalent_feature" } } } Then the schema is expected to have feature "univalent_feature" and "multivalent_feature", and when a batch of data is converted to Tensors using this TensorRepresentationGroup, the result may be the following dict: { "dense_tensor": tf.Tensor(...), "varlen_sparse_tensor": tf.SparseTensor(...), }Protobuf type
tensorflow.metadata.v0.TensorRepresentationGroup - trait TensorRepresentationGroupOrBuilder extends MessageOrBuilder
- trait TensorRepresentationOrBuilder extends MessageOrBuilder
- final class TimeDomain extends GeneratedMessageV3 with TimeDomainOrBuilder
Time or date representation.
Time or date representation.
Protobuf type
tensorflow.metadata.v0.TimeDomain - trait TimeDomainOrBuilder extends MessageOrBuilder
- final class TimeOfDayDomain extends GeneratedMessageV3 with TimeOfDayDomainOrBuilder
Time of day, without a particular date.
Time of day, without a particular date.
Protobuf type
tensorflow.metadata.v0.TimeOfDayDomain - trait TimeOfDayDomainOrBuilder extends MessageOrBuilder
- final class URLDomain extends GeneratedMessageV3 with URLDomainOrBuilder
A URL, see: https://en.wikipedia.org/wiki/URL
A URL, see: https://en.wikipedia.org/wiki/URL
Protobuf type
tensorflow.metadata.v0.URLDomain - trait URLDomainOrBuilder extends MessageOrBuilder
- final class UniqueConstraints extends GeneratedMessageV3 with UniqueConstraintsOrBuilder
Checks that the number of unique values is greater than or equal to the min, and less than or equal to the max.
Checks that the number of unique values is greater than or equal to the min, and less than or equal to the max.
Protobuf type
tensorflow.metadata.v0.UniqueConstraints - trait UniqueConstraintsOrBuilder extends MessageOrBuilder
- final class ValueCount extends GeneratedMessageV3 with ValueCountOrBuilder
Limits on maximum and minimum number of values in a single example (when the feature is present). Use this when the minimum value count can be different than the maximum value count. Otherwise prefer FixedShape.
Limits on maximum and minimum number of values in a single example (when the feature is present). Use this when the minimum value count can be different than the maximum value count. Otherwise prefer FixedShape.
Protobuf type
tensorflow.metadata.v0.ValueCount - final class ValueCountList extends GeneratedMessageV3 with ValueCountListOrBuilder
Protobuf type
tensorflow.metadata.v0.ValueCountList - trait ValueCountListOrBuilder extends MessageOrBuilder
- trait ValueCountOrBuilder extends MessageOrBuilder
- final class WeightedFeature extends GeneratedMessageV3 with WeightedFeatureOrBuilder
Represents a weighted feature that is encoded as a combination of raw base features. The `weight_feature` should be a float feature with identical shape as the `feature`. This is useful for representing weights associated with categorical tokens (e.g. a TFIDF weight associated with each token). TODO(b/142122960): Handle WeightedCategorical end to end in TFX (validation, TFX Unit Testing, etc)
Represents a weighted feature that is encoded as a combination of raw base features. The `weight_feature` should be a float feature with identical shape as the `feature`. This is useful for representing weights associated with categorical tokens (e.g. a TFIDF weight associated with each token). TODO(b/142122960): Handle WeightedCategorical end to end in TFX (validation, TFX Unit Testing, etc)
Protobuf type
tensorflow.metadata.v0.WeightedFeature - trait WeightedFeatureOrBuilder extends MessageOrBuilder