摘要:
代码来源于:tensorflow机器学习实战指南(曾益强 译,2017年9月)——第七章:自然语言处理 代码地址:https://github.com/nfmcclure/tensorflow-cookbook 数据:http://www.cs.cornell.edu/people/pabo/mov
阅读全文
posted @ 2018-05-20 19:13
笨拙的忍者
阅读(855)
推荐(0)
编辑
摘要:
转载自:https://www.cnblogs.com/mdumpling/p/8053376.html 原型 tf.squeeze(input, squeeze_dims=None, name=None) 从tensor中删除所有大小是1的维度 给定张量输入,此操作返回相同类型的张量,并删除所有尺
阅读全文
posted @ 2018-05-20 19:12
笨拙的忍者
阅读(5082)
推荐(0)
编辑
摘要:
转载自:https://blog.csdn.net/appleml/article/details/71023039 https://www.cnblogs.com/mdumpling/p/8053474.html tf.concat(concat_dim, values, name='concat
阅读全文
posted @ 2018-05-20 19:05
笨拙的忍者
阅读(330)
推荐(0)
编辑
摘要:
转载自:https://blog.csdn.net/chenxieyy/article/details/53031943 函数原型 tf.slice(inputs,begin,size,name='') 从inputs中抽取部分内容 参数说明 inputs:可以是list,array,tensor
阅读全文
posted @ 2018-05-20 18:48
笨拙的忍者
阅读(210)
推荐(0)
编辑