AI百科
特征规范 (feature spec)
回复:0  浏览:480

用于描述如何从 tf.Example proto buffer 提取特征数据。由于 tf.Example proto buffer 只是一个数据容器,因此您必须指定以下内容:

  • 要提取的数据(即特征的键)

  • 数据类型(例如 float 或 int)

  • 长度(固定或可变)

Estimator API 提供了一些可用来根据给定 FeatureColumns 列表生成特征规范的工具。