batch_reader.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:FYP-AutoTextSum 作者: MrRexZ 项目源码 文件源码
def _GetExFeatureText(self, ex, key):
    """Extract text for a feature from td.Example.

    Args:
      ex: tf.Example.
      key: key of the feature to be extracted.
    Returns:
      feature: a feature text extracted.
    """
    return ex.features.feature[key].bytes_list.value[0]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号