一、LF和CRLF是什么 CRLF 是 carriage return line feed 的缩写,中文意思是回车换行。 LF 是 line feed 的缩写,中文意思也是换行。 它们都是文本换行的方式。 二、LF和CRLF区别 : "\r\n", windows系统环境下的换行方式 : "\n", ...
分类:
其他好文 时间:
2020-02-20 20:39:19
阅读次数:
377
多态 1 程序中的多态; 声明父类,实例化子类; 要建的类 对动物喂食 package com.lv.tai; public class Person { //给动物喂食 public void feed(Dog dog){ System.out.println("喂食"); dog.eat(); ...
分类:
其他好文 时间:
2020-02-20 00:06:37
阅读次数:
80
http://www.51hei.com/bbs/dpj 150034 1.html 说明FLASH SIZE这一栏如果是ESP 01就选8Mbit,如果是ESP 12F就选32Mbit 安装环境 下载 安装 注意要使用英文目录(注意这里是0.5版本,不是最新的版本,新版本未测试) 安装完成后打开安 ...
分类:
其他好文 时间:
2020-02-19 17:16:14
阅读次数:
210
import tensorflow as tf #Fetch概念 在session中同时运行多个op input1=tf.constant(3.0) #constant()是常量不用进行init初始化 input2=tf.constant(2.0) input3=tf.constant(5.0) a ...
分类:
其他好文 时间:
2020-02-13 09:33:57
阅读次数:
39
修改nginx.conf,禁止网络爬虫的ua,返回403 添加agent_deny.conf配置文件 #禁止Scrapy等工具的抓取 if ($http_user_agent ~* (Scrapy|Curl|HttpClient)) { return 403; } #禁止指定UA及UA为空的访问 i ...
分类:
其他好文 时间:
2020-02-12 18:38:56
阅读次数:
84
TensorFlow 中可以通过三种方式读取数据: 一、通过feed_dict传递数据; input1 = tf.placeholder(tf.float32) input2 = tf.placeholder(tf.float32) output = tf.multiply(input1, inpu ...
分类:
其他好文 时间:
2020-02-10 22:16:36
阅读次数:
68
会话 开启会话 tf.Session用于完整的程序中 tf.InteractiveSession用于交互式上下文中的tensorflow 查看张量的值 都必须在会话里面 c_new_value=new_sess.run(c_new) print("c_new_value:\n",c_new_valu ...
分类:
其他好文 时间:
2020-02-09 11:53:00
阅读次数:
56
The JPEG compression algorithm split the image into 8x8 blocksMy thinking is that if we split an image into 8x8 blocks, feed each block to libjpeg and ...
分类:
其他好文 时间:
2020-01-23 15:29:21
阅读次数:
99
修改placeholder字体颜色小方法 1.html <!--故事内容--> <textarea placeholder="我有酒,说出你的故事..." id="feedbackcontent"></textarea> 2.CSS #feedbackcontent::-webkit-input-p ...
分类:
Web程序 时间:
2020-01-20 22:50:44
阅读次数:
121