def pool_as_vector(images, scope=None):
"""Reduce images to vectors by averaging all pixels."""
with ops.name_scope(scope, "PoolAsVector", [images]):
return math_ops.reduce_mean(images, [1, 2])
misc.py 文件源码
python
阅读 20
收藏 0
点赞 0
评论 0
评论列表
文章目录