View source on GitHub |
Base dataclass for defining tf.Example proto feature keys.
tfm.core.tf_example_feature_key.TfExampleFeatureKeyBase(
prefix: Optional[str] = None
)
This class defines the logic of adding prefix to feature keys. Subclasses will define feature keys for a specific feature type in data fields.
Args | |
---|---|
prefix
|
A prefix string that will be added before the feature key string with a trailing slash '/'. |
Methods
__eq__
__eq__(
other
)