![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tensorflow
前行的zhu
程序员小白的前行之路
展开
-
tf.train.latest_checkpoint()
tf.train.latest_checkpoint()函数的作用查找最新保存的checkpoint文件的文件名(Finds the filename of latest saved checkpoint file.)。tf.train.latest_checkpoint( checkpoint_dir, latest_filename=None)Args:checkpoint_dir: Directory where the variables were saved.;late原创 2020-06-12 16:07:31 · 8274 阅读 · 0 评论 -
tensorflow中卷积函数tf.nn.conv2d和池化函数tf.nn.max_pool中参数的意义
tf.nn.conv2d(input, filter, strides, padding, use_cudnn_on_gpu=True, data_format=“NHWC”, name=None):input:输入的tensor对象(x),会对该值进行卷积操作。默认形状为:[batch_size, height, width, channels], batch_size表示一个批次中的样本数目...原创 2019-08-08 10:58:23 · 213 阅读 · 0 评论 -
Windows环境下如何安装并搭建自然语言处理库HanLP
HanLP是由一系列模型与算法组成的工具包,目标是普及自然语言处理在生产环境中的应用。HanLP具备功能完善、性能高效、架构清晰、语料时新、可自定义的特点;提供词法分析(中文分词、词性标注、命名实体识别)、句法分析、文本分类和情感分析等功能。(以上介绍来自官网:http://www.hanlp.com/#overview 同时也附上GitHub上的地址(这里面介绍更全面):https://gith...原创 2019-08-15 11:22:53 · 602 阅读 · 1 评论